I'm trying to understand ActionForms a bit better and here is my
question:

If the servlet controller automatically invokes the reset() method
before passing the ActionForm bean to the Action implementation class
instance, how can you use the form's properties' values in your action?

Is this why in the action, you need to downcast the form argument passed
by the controller servlet to your Actionform as such:

String userName = ((LoginForm) form).getUserName();


Thanks,
SB

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.



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

Reply via email to