Request parms need to be stored in the  session and retreived for next
session/jsp.

also make sure both the jsp are in same path.

-----Original Message-----
From: Raghavendra i Rao [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 31, 2000 12:31 PM
To: [EMAIL PROTECTED]
Subject: jsp:forward


Hi,
 I have a jsp that shows a form (User.jsp)and on submitting the form , it
goes to another page action.jsp. Now if there is any error in the form
(which I check in action.jsp), I want to transfer control back to the first
jsp page (User.jsp. Something like a loop ). I use
<jsp:forward page="User.jsp"/>
in action.jsp to do this ,but this does not display the page User.jsp and a
blank screen is shown with the url showing the page action.jsp.
 Could somebody please let me know how can I get this accomplished.

In User.jsp I have :
document.rfUserMgmtform.action ="action.jsp";

In action.jsp I have
<jsp:forward page="User.jsp"/>

 It is some kind of a loop behavior. I am using jsp forward since I need to
forward the request parameters from action.jsp to User.jsp .Any help is
highly appreciated.

Thanks in advance.



_________________________________________________
Get Your Free Email At, http://www.rediffmail.com

Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions

===========================================================================
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

Reply via email to