Try changing the scope of forward or Action in struts-config. It might help.I think you can specify a scope for forward also ...not tried but just see if it works...
Regards Rohit -----Original Message----- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:20 PM To: Struts Users Mailing List Subject: RE: Redirect option instead of findForward!!!Urgent Hi Adam, I have already tried this option, but still it is giving me the same problem. This is how I have defined in the struts-config. When i do mapping.findForward("showPassword") in my TestAC i am taken to the correct page but the request object is also passed with it although i have set the redirect attribute as "true". <action path="/test" type="com.action.TestAC" name="sourcingAF" scope="request" validate="false" input="/pages/Test.jsp"> <forward name="showLogout" path="/pages/Logout.jsp"/> <forward name="showPassword" path="/ShowPassword.do?hidValue=N" redirect="true" /> I am using the struts rc-2. Any problem with it. Anurag Garg -----Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:35 PM To: Struts Users Mailing List Subject: Re: Redirect option instead of findForward!!!Urgent Hi Anurag, you specify in struts-config in the forward element for the action mapping, that it should redirect. (="true") Adam Anurag Garg wrote: > Hello All, > > I have created a page where i submit the data for saving it in the database. > I have some hidden variables defined in the same page. After saving the data > when my control comes in the action class I do mapping.findForward to the > other page. The new page also contains some hidden variables which have the > same name as the previous page. When the new page's action class gets > executed the value of hidden variables from the previous page is picked as > the findforward is taking my request object to the other page. Now i dont > want my request object from the previous page to move to the new page. Is > there any option which can do response.sendRedirect for me so that i dont > take my request object of the previous page along to the new page. I have > tried to reset the variables in the action class before doing findforward to > the new page. > > Thanks for the response in advance > > Anurag Garg. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *---------- This message and any attachment(s) is intended only for the use of the addressee(s) and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended addressee(s), you are hereby notified that any use, distribution, disclosure or copying of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachment(s) and notify the sender or Kanbay postmaster immediately. Any views expressed in this message are those of the individual sender and not of Kanbay. Although we have taken steps to ensure that this e-mail and any attachment(s) are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]