You can simply use return mapping.findForward("actionB");

and the following in the struts-config.xml:

<forward name="actionB" path="ActionB.do"/>

Gary

>>> [EMAIL PROTECTED] 4/18/2006 7:37:41 AM >>>
Hi all,

I had an requirement wherein I needed to forward to another action from
a
action.
I tried by two ways but none of them is working. I would appreciate if
anyone of you could help me understand, what is that which I am not
doing
correctly.
I made a forward in my action A which forwards to my action B.
In my action I did a request.setAttribute("code",code);
& then did a forward. However, I wasn't able to get the request
parameters.
Then I tried a second way:
Action ab = new ActionB();
ActionForward fwd=ab.process(mapping,form,request,response);
return fwd;
Here  the second action didn't get executed.
Please help.

Thanks & Regards,
Meenakshi.


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

Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or 
proprietary information and may be used only by the person or entity to which 
it is addressed. If the reader of this email/fax is not the intended recipient 
or his or her agent, the reader is hereby notified that any dissemination, 
distribution or copying of this email/fax is prohibited. If you have received 
this email/fax in error, please notify the sender by replying to this message 
and deleting this email or destroying this facsimile immediately.

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

Reply via email to