public String processLogic() {
Connection c = null;
Statement s = null;
ResultSet r = null;
try {
String dbUrl = "jdbc:hsqldb:hsql://172.31.255.103:9001/frame";
String user = "sa";
String password = "";
Class.forName("org.hsqldb.jdbcDriver");
c = DriverManager.getConnection(dbUrl, user, password);
s = c.createStatement();
r = s.executeQuery("select user_name from ids where user_id='"
+ userid + "' and password='" + password + "' ");
while (r.next()) {
}
System.out.println(userid);
System.out.println(password);
String aaa = r.getString("user_name");
if (aaa == "王湛") {