I am working with servlets database connectivity.
I have a table in the dtatabse where only usernames and passwords r stored. I want to give an error message if the user is not at all presnt, ie, he is a new user.
the query is 'select * from table where username = 'user';
how to check for the null resultset ?,
result.wasnull() checks only whether the last column read had this special value.
pls explain me with the code
the other question is can 2 or more than 2 queries can be run simultaneously. like depending upon the result set values of one query the other query should run.
can this be possible ?