Hi Craig,

With forward you don't need to pass the parameters in the URL. You can
use setAttribute(), getAttribute() to set/get "parameters" in requests
without having to add them in the URL.

And if you are not displaying anything in your processing JSP page, why
use a JSP page at all? Wouldn't a servlet do the same job? Unless you
use beans automatic form fields recognition that comes with JSP pages
but not with servlets, of course ;).

I hope this helps,
Dan
-------------------------------------------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
-------------------------------------------

Craig Reichenbach wrote:
>
> 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 must pass 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

Reply via email to