A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
ResultSet related query.
Joined: Dec 20, 2007
Jan 05, 2008 00:07:00
What i am doing is filling dropdown Menu through
//html code.using scriptlets
but when i am trying to close the Database connection.it gives Null pointer error.
Can any one please tell me the problem???That why it gives that error.
Joined: Mar 06, 2001
Jan 05, 2008 01:37:00
It gives a Null pointer because you are trying to reference something with a null value. I can't say much more without seeing more code.
Joined: Jan 03, 2008
Jan 05, 2008 03:27:00
Might be the database object that you created would be null.For further details I have to look in the code what mistake you have done.
SCJP 5.0<br />SCWCD 5.0<br />Preparing for SCDJWS
I agree. Here's the link:
subject: ResultSet related query.
Insertion Of Data
whats the use of closing ResultSet ?
ResultSet closed error (URGENT !!)
getting empty resultset
passing resulset object to client in rmi
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014