aspose file tools
The moose likes JDBC and Relational Databases 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 Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How To Call Stored Procedure in JSP." Watch "How To Call Stored Procedure in JSP." New topic

How To Call Stored Procedure in JSP.

bobby reddy

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?

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31634

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.

[OCA 8 book] [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:
subject: How To Call Stored Procedure in JSP.