Priti,
Try this
RequestDispatcher dispatcher = request.getRequestDispatcher(JSPPage);
dispatcher.forward(request,response);
- Bala
-----Original Message-----
From: Priti Chhetri [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 9:59 AM
To: [EMAIL PROTECTED]
Subject: Servlet-JSP communication
Hello,
Can u please guide me what Code should I use to call JSP from servlet.I have tried
response.sendRedirect(URL) .On using
response.sendRedirect() I lost my Form data on jsp pages.
Thanks
Priti chhetri
MTS
Intersolutions -58
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For
digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com