Hi,
In the second page you can make a statefull bean that will hold the data.
Then you can redirect to the first page without any parameters. Use the
getter function of the bean to populate the first page.
Ashwani Kalra
Sr. Systems Associate,
E-Commerce Group, NIIT Ltd.
Phone :091-11-6203577(D),6203578
> ----------
> From: Reichenbach Craig
> Reply To: [EMAIL PROTECTED]
> Sent: Tuesday, March 07, 2000 8:27 PM
> To: [EMAIL PROTECTED]
> Subject: passing hidden form variables
>
> Hi,
> Here's my scenario: I have a form on one JSP page that passes the info
> to another
> JSP page that processes this info (by calling a stateless session bean).
> This processing
> page does not display, so once the the processing is done I pass the
> client back to the first
> JSP page. My question is, how can I pass the user back to the first page
> using hidden variables?
> I currently use a form with an automatic javascript "submit()" function.
> It's OK, but I'd
> like a better solution. Can someone enlighten me as to how to
> automatically submit a form
> so that I can seamlessly pass the user back to a page with the proper
> hidden variables???
>
> Thanks, Craig
>
> NOTES:
> I love the response.sendRedirect(), but you are forced to visibly show
> your parameters in
> the URL. Same with <jsp:forward>
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets