The tags the retrieval of the properties for viewing.
The servlet does the setting of the properties on the request.

The servlet uses the mapping as specified in the struts-config.xml file 
to invoke the action once it's set everything.


Arron.

Laurie Harper wrote:

>On Wed, 2001-11-14 at 00:41, Arron Bates wrote:
>
>>When the form is submitted, the struts servlet uses the property names 
>>of the form elements to get a hold of the setter methods in the bean and 
>>sets them according to the values of those passed by the form. The 
>>servlet maps the action URL to the beans that it has to work against.
>>
>
>This is the bit I don't seem to be able to track down...  I tried
>following what was happening with the struts-exercise-taglib sample app.
>I looked at the 'Scalar Setters' example and could see how the form gets
>rendered using the bean to obtain values for all the fields.
>
>But on submission, the action invoked is the HtmlSetterAction class.
>All it does is forward to either the index page or back to the form.  I
>looked at its super classes and none of them are doing any bean
>manipulation as far as I can see.
>
>Is this perhaps done by the controller servlet the invokes the action?
>What class would that be?
>
>Thanks,
>
>L.
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to