gettin an invalid cursor state exception when i try to get a record from the database using
jsp..
its like:
ResultSet attempt = statement.executeQuery("SELECT Attempts FROM Users WHERE UserName = '" + username + "'");
String attemptTry = attempt.getString("Attempts");
i think the problem is the getString method
the "Attempts" is named right way out of the DB...
the resultset does return something but i still get the error
Attempts is a smallint in the database.. is it coz of that?
thanx