Hi, I had thought of this, but was apprehensive that the user might use the browser back and would be able to see the values in the hidden flags... What do u think?
Regards, Vibha > ----- Original Message ----- > From: A mailing list about Java Server Pages specification and reference > <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, December 19, 2001 12:41 PM > Subject: Re: Forwarding a request to a cgi script on a different machine > > > > > > > > I have a small tricky to do it > > > > - your 1.jsp save that parameter in session, ex: name it with > > (String)param > > - redirect to 2.jsp > > - 2.jsp read param session > > - 2.jsp contain html and form inside > > <form action= method=post> ..<input type=hidden value=<%=param%> > > </form> > > - combine with javascript when the body onLoad document.form.submit > > > > it is more secure than redirect an show parameter on its address > > > > -dwi, unocal76 > > > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
