File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Stored Procedure + JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Stored Procedure + JSP" Watch "Stored Procedure + JSP" New topic

Stored Procedure + JSP

prathimaprasun rao
Ranch Hand

Joined: Jun 29, 2006
Posts: 55
Hello everyone,
How can we call a stored procedure from the jsp?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

Please don't. JDBC code is better off in a Java class than directly in the JSP.

See this tutorial for how to call a stored procedure through JDBC.

[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
I agree. Here's the link:
subject: Stored Procedure + JSP
It's not a secret anymore!