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 <jsp:setProperty> 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>
<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 <jsp:setProperty> 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>