struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann...@reumann.net>
Subject Re: DispatchAction role
Date Fri, 18 Jul 2003 14:51:45 GMT
On Fri, Jul 18,'03 (10:49 AM GMT-0400), Rick wrote: 
 
> > 1. init() - sets up the form with initial values for select lists,
> > etc. 2. submitForm() - handles the validation and data associated
> > with the completed form setup above and forwards to another
> > DispatchAction's init() method.
> 
> I do exactly that, and think it's fine. I often have a ....
> 
> setUp()  
> update()
> display()
> 

Although I should comment that I haven't ever had a need to do your #2
above (forwarding to another dispatch action). I generally don't like to
forward my actions to other actions (I'm not in the camp that would say
'never' do it... I just haven't found a need to yet).

-- 
Rick




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message