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]