Forums Register Login

servlets

+Pie Number of slices to send: Send
when i open the new resultset within while loop
of another resultset i met a problem that "Resultset is closed" how i can overcome this problem
+Pie Number of slices to send: Send
Hi,
Ensure that u work with different result sets.Can u just post the code?
Regards
Geeta
+Pie Number of slices to send: Send
If you create a 2nd ResultSet using the same Statement instance then the previous ResultSet is automically closed.
To get around this feature use 2 Statement instances to create the 2 ResultSets that you want to iterate through.
snakes are really good at eating slugs. And you wouldn't think it, but so are tiny ads:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 814 times.
Similar Threads
Does this make any sense to anyone??
problem with using rs.getString() in servlet.
how to auto update jcombobox?
Invalid cursor state
result set problems
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 10:48:18.