struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tero P Paananen" <...@viant.com>
Subject RE: Re: Forwarding to action
Date Sun, 23 Jun 2002 14:57:20 GMT
> > > Is it possible to return a forward to another action 
> (e.g. to chain
> > > actions)?
> >
> > Yes.
> 
> Excellent!
> 
> However, I'm not able to find that class/method. Hint?

ActionForward forward = mapping.findForward( "your_forward_name" );
return forward;

Define the forward in your struts-config.xml just as you would
for a JSP page. The use it exactly the same for any resource,
whether JSP, HTML, PDF, another action, etc. etc.

				-TPP

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


Mime
View raw message