aspose file tools*
The moose likes JDBC and the fly likes Error Type Mismatch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error Type Mismatch" Watch "Error Type Mismatch" New topic
Author

Error Type Mismatch

Kamlesh Ugale
Greenhorn

Joined: Dec 23, 2009
Posts: 1
Hello
i m tring to retrive data From Stored Procedure Using Jsp
i hv Error : Type mismatch: cannot convert from ResultSet to CallableStatement

Code : In Jsp Page

Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Kamlesh,
Welcome to JavaRanch! I added [ code ] tags around the code to make it easier to read.


[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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Which line in that code throws the error?

It would also be good to point that that best practices say not to have Java code in a JSP.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error Type Mismatch