I thought you were learning Struts 2.

Dave

--- On Fri, 9/26/08, UseTheFork wrote:
> I am learning about Struts and I am trying to understand
> the proper usage of
> Actions and ActionForms. Can you tell me if the following
> is correct?
> 
> i) Actions are implemented as glue between the View (JSP
> for example) and
> the Model part (Hibernate for example) in MVC. Typically,
> they should not
> implement business logic, but call EJBs instead.
> 
> ii) When the struts controller calls execute(...) on the
> Action class, an
> ActionForm class may be passed as a parameter (if such has
> been implemented
> and if struts has been configured properly).
> 
> iii) An ActionForm contains the data entered by the user on
> a HTML (or JSP
> page) form. Some data validation can be performed.
> 
> iv) Once the Action has finished its job, it returns the
> next page to
> display via an ActionForward object.
> 
> Thanks,
> 
> J.
> -- 
> View this message in context:
> http://www.nabble.com/Action-and-ActionForm-newbie-questions-tp19692405p19692405.html
> Sent from the Struts - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

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

Reply via email to