Hello mithcool. Welcome to the Java Programming Forums.

Does rs.getString(1).equals(pass) ever return the correct value when you print it out?