jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 32635
    
215

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32635
    
215

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
 
It's not a secret anymore!