wood burning stoves 2.0*
The moose likes JDBC and the fly likes How To Call Stored Procedure in JSP. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "How To Call Stored Procedure in JSP." Watch "How To Call Stored Procedure in JSP." New topic
Author

How To Call Stored Procedure in JSP.

bobby reddy
Greenhorn

Joined: Nov 05, 2007
Posts: 27
Hello everyone,
I have written a stored procedure in Toad. Now I have to call this stored procedure in JSP. Could any one provide the url where I can find the examples of how to call the stored procedure in JSP?

Thanks,
bobby
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30598
    
154

Bobby,
Take a look at the JDBC tutorial for callable statements.

Note that it is considered bad practice to make JDBC calls from a JSP. It is better to put this code in a Java class.


[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
 
GeeCON Prague 2014
 
subject: How To Call Stored Procedure in JSP.