By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

JSTL SQL tags and Javascript

P: n/a
How do I assign a form field to a value parameter of the sql tag?

Ie) I want a query that will search for an item in the database based on the
value of a hidden form field

All the examples I have seen thus far find static values

Here is an example of the oracle tags (but I will switch to jstl in the
future) this example for for illustrative purposes

<sql:dbSetParam name = "test_hidden"
<sql:dbQuery connId="con1" output="jdbc" queryId="kit_type_query"
select kit_type from kit_inventory where kit_brand=?

I know the JSTL tags are a bit different than the Oracle tags, but what my
question really is :
"How do I shoehorn a html form field into a param value in a tag?"

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Hi Brent Eamer,

Wrong newsgroup.
Try or

CU there! ;-)

Erwin Moller
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.