I tried setting the below hidden variable inside and outside the form. In both the case, Im not getting any value from request.getParameter. If i put inside the form then i am able to access it using form.getID.
<input type="hidden" id="ID" value="<%=ID%>"/> Regards Ganesh ----- Original Message ----- From: "Dave Newton" <davelnew...@gmail.com> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Friday, September 30, 2011 6:33 PM Subject: Re: To create new session without invalidating existing one > On Fri, Sep 30, 2011 at 7:46 AM, Ganesh wrote: > >> Is there any way to retireve the form data using request.getParameter(); If >> the ID is part of hidden variable then it is returning null. Any ways to >> retrieve data without using Form object. >> > > If it's part of the form, and you're setting it, but not able to retrieve > it, it's likely you're doing something wrong. > > >> First time, I will set the ID as part of the URL and my problem is the ID >> has to be carried for every subsequet pages. How to achieve this? >> > > URL rewriting. > > Dave > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org