You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by guruprasad jakka <gu...@ureach.com> on 2003/07/26 12:32:10 UTC

Calling an action from an action

Hi,

Can anyone tell me the exact syntax for forwarding to an action
from an action class.

Thanks in Advance.

J G Guru Prasad
V sem, Information Technology,
Bachelor of Engineering,
National Institute of Technology Karnataka, Surathkal.
( formerly KREC )


________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

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


Re: Calling an action from an action

Posted by Aleksandar Matijaca <al...@jkafein.com>.
Described in detail here: http://husted.com/struts/tips/014.html and 
here: http://jakarta.apache.org/struts/faqs/newbie.html#chaining

Good luck,

Aleksandar.

guruprasad jakka wrote:

>Hi,
>
>Can anyone tell me the exact syntax for forwarding to an action
>from an action class.
>
>Thanks in Advance.
>
>J G Guru Prasad
>V sem, Information Technology,
>Bachelor of Engineering,
>National Institute of Technology Karnataka, Surathkal.
>( formerly KREC )
>
>
>________________________________________________
>Get your own "800" number
>Voicemail, fax, email, and a lot more
>http://www.ureach.com/reg/tag
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>  
>




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


RE: Calling an action from an action

Posted by Alex Shneyderman <al...@law.columbia.edu>.

ActionForward forwardTo = 
        mapping.findForward ("<your other action mapping>");

return this forwardTo from your first actions execute method.


> -----Original Message-----
> From: guruprasad jakka [mailto:guruprasad_jg@ureach.com]
> Sent: Saturday, July 26, 2003 6:32 AM
> To: struts-user@jakarta.apache.org
> Subject: Calling an action from an action
> 
> Hi,
> 
> Can anyone tell me the exact syntax for forwarding to an action
> from an action class.
> 
> Thanks in Advance.
> 
> J G Guru Prasad
> V sem, Information Technology,
> Bachelor of Engineering,
> National Institute of Technology Karnataka, Surathkal.
> ( formerly KREC )
> 
> 
> ________________________________________________
> Get your own "800" number
> Voicemail, fax, email, and a lot more
> http://www.ureach.com/reg/tag
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org



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