File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark ""ResultSet.next() was not called" Exception" Watch ""ResultSet.next() was not called" Exception" New topic
Author

"ResultSet.next() was not called" Exception

Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

Hi, My problem is with JSP tags in which I am dispatching from the servlet.

And I am getting this exception

The code in the servlet is as follows :


Shounak
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Please take the time to choose an appropriate forum for your posts. This forum is for questions on Servlets. For more information, please click this link ⇒ CarefullyChooseOneForum.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

Sorry mate, I did not notice that. Next time , I will definitely be conscious.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Is this not a continuation of your previous post?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

That would be this post


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

Which line is throwing the exception? It's odd because you clearly do call rs.next().
Shounak Kundu
Ranch Hand

Joined: Jul 29, 2010
Posts: 60

The problem has been solved.. Actually I had committed some serious typing error in the next page, where I am request dispatching.

Thanks for your support...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "ResultSet.next() was not called" Exception
 
Similar Threads
user authentication servlet problem
problem sendRedirect to JSP page
redirection problem
Invalid user error message
Error in JDBC ODBC