Alejandro
Alejandro

Reputation: 427

How do I call an oracle stored procedure using jstl in my web project?

All the inserts, updates and deletes need to be implemented in my database i need to know a form of calling them from my web application using jstl. I'll appreciate your help

Upvotes: 1

Views: 1074

Answers (2)

Anyone
Anyone

Reputation: 11

It is possible See http://dev-answers.blogspot.com/2008/04/call-stored-procedure-from-jsp-with.html but change exec with call

Upvotes: 1

adarshr
adarshr

Reputation: 62573

You must not do that. Come up with a DAO layer which does the database stuff and use your DAO in your controller / servlet. Never ever should you invoke database code directly from JSP!

Upvotes: 0

Related Questions