how to a pass a value from jsp to database through beans.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, November 28, 2001 11:25 AM

how to store a value in database for example userid and password from jsp to database through beans please suggest a example coding.

Re: how to a pass a value from jsp to database through beans.

Posted By:   Bernie_Acs  
Posted On:   Wednesday, November 28, 2001 12:21 PM

It's not exactly what you are looking for but it does demonstrate how to use JSP tags to make a transaction with the database and gives a link to the JSP tags documents. Examine the recent question labeled




passing a resultSet to .jsp

Topic: JDBC
kemikaL ONE, Nov 12, 2001 [replies]



The above example executes a query and dynamically creates a page to be served back to the client. In your case you want collect data from the client and then use bean to insert the data into a DB. The priciples are basically the same you would use FORM to collect input then using JSP tags parse and the values from the arguments and call your bean which will facilitate some methods for collecting the info from the JSP and build it's transaction to the DB. At the bottom of the recent question you will find a link to the JSP Tags reference document which will help you if you do not have it already.
About | Sitemap | Contact