Hi i am trying to create a JSP class which will redirct but for some reason i keep getting an error when eneterning the correct info. i think
System.err.println("DEBUG: Query: " + selectSQL);
Statement stmt = conn.createStatement();
ResultSet rs1 = stmt.executeQuery(selectSQL);
while(rs1.next())
{
u += rs1.getString("U");
p += rs1.getString("P");
if(U.equals(u) && P.equals(p))
{
response.sendRedirect("/Page.html");
}
}
for some reason i don't think its going in to the if statement any idea why?