hi, For the parameter accessig problem, instead of setting the parameters in 'request' scope, try setting them in 'session' hope. coming to second question, have you properly added <action-mapping>for the second action in your struts-config.xml ? (if it is just a forward, then you can simply specify the 'forward=' alone) Pl post the exception message you experienced during execution. -- Manivannan Palanichamy http://geocities.com/manivannan57
-----Original Message----- From: Meenakshi Singh <[EMAIL PROTECTED]> To: Struts Users Mailing List (E-mail) <user@struts.apache.org> Sent: Tue, 18 Apr 2006 18:07:41 +0530 Subject: Calling another action from an action 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] ________________________________________________________________________ Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.