Hi All,
I have small doubt...
what is the difference between RequestDispatcher way and
sendRedirect() way in forwarding request from one servlet to another
servlet?
I know one diff. that sendRedirect() makes fresh request to resource where
we are forwarding...
whether it is not the case with requestDispatcher...
Are there any docs about this?
-raj-
-----Original Message-----
From: Arnab Nandi [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 1:29 PM
To: [EMAIL PROTECTED]
Subject: Servlet to Servlet communucation
Hi,
In our application we need to forward the request from one servlet to
another.
When we use this
getServletConfig().getServletContext().getRequestDispatcher("/servlet/Se
archServlet").forward(request, response);
It works fine in VAJ test environment but fails on Tomcat/Apache Server.
Any pointers in this regards will be of great help
Regards
Arnab
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html