use the usebean tag and pass it to the bean.
I hope i got ur Q right.
Just instantiate the bean and send the query as a param. i've tried it, it
works fine.

Santosh.

-----Original Message-----
From: Manish Joshi [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 01, 2000 12:13 AM
To: [EMAIL PROTECTED]
Subject: How to pass string fromjsp to database accessing bean


hi all,
hey i m generating sqlquery in my jsp page,to update the database i need =
to pass it to bean where i will run this query on sql database,can =
somebody tell me how do u pass this query to bean.
thx in advance
MJ

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to