I'm assuming that
you are actually entering that while() loop (i.e. data is coming back from the
query). In that case, it seems likely that a SQLException is being thrown
by either myResultSet.getString("UserLoginId") or
myResultSet.getString("UserPassword"). The most likely cause of this
is that you've got the wrong name for a column (i.e. UserLoginId or UserPassword
does not exist in the results of the query you execute to get
myResultSet). Check your column names. Also, I assume you're going
to be catching SQLException's somewhere nearby: output the error message, it's
generally quite informative.
|
- Login Authentication against database... Praveen Potineni
- Re: Login Authentication against database... Chris Tucker
- Re: Login Authentication against database... Joe Cheng
- Re: Login Authentication against database... Praveen Potineni
- Re: Login Authentication against databas... Chris Tucker
- Re: Login Authentication against dat... Praveen Potineni
- Re: Login Authentication against databas... David Nguyen
- Re: Login Authentication against database... Margaret Fisk
- Re: Login Authentication against database... Miao, Franco CAWS:EX
- Re: Login Authentication against database... Joe Cheng
- Re: Login Authentication against database... Syed Rehman
- Re: Login Authentication against database... Miao, Franco CAWS:EX