Servlet Recordset not allowing String Comparision
Howdy,
I'm stumped. It should work, but it doesn't. After getting a record set back from a database, I do a comparision of its value with a coparable string, in this case "0". It always returns false, even though when I print our the values brought back from the database, 0 is a valid returned value. Here is the code
String vUser_ID = dbResultSet.getString("User_ID");
boolean hey=vUser_ID.equals("0");
I got rid of any spaces and it is a string... what gives? Anybody have a clue?
Thanks

