Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JSP: Sending form data to JavaBeans

Status
Not open for further replies.

raze

IS-IT--Management
Jan 19, 2000
15
GB
Hi there ..... :)<br>
<br>
I have started writing JavaServer Pages, and I'm trying to send data from forms, to JavaBeans to handle the processing.<br>
<br>
I understand that you can use &lt;jsp:setProperty&gt; to collect values from the form, which in turn, execute corresponding public methods in the JavaBean.<br>
<br>
But if I want to carry out further processing in the JavaBean<br>
(increment a count for example), then how can this be done when the form is submitted? I can't put the increment in one of the setProp methods, because I'm not sure what order they are executed in.<br>
<br>
Is there a method that is called when a form is submitted?<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top