This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How To Call Stored Procedure in JSP.
 
Similar Threads
@NamedNativeQuery and choosing the correct resultClass
Stored Procedure + JSP
stored procedure
Problem using Callable Statement
%rowtype mapping in java