As far as I know, it sounds right to me...
"Jason Stortz" <jstortz@quote To: "Tomcat Users List" <[EMAIL PROTECTED]> smith.com> cc: Subject: RE: RequestDispatcher forward versus response.sendRedirect 07/24/02 11:29 AM Please respond to "Tomcat Users List" Jeff, Thanks for reply. So, probably always use response.sendRedirect with absolute url to something out of my webapp, but RequestDispatcher for moving to other sources inside my webapp? Does that sound right? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 11:25 AM To: Tomcat Users List Subject: RE: RequestDispatcher forward versus response.sendRedirect Hi, Jason. I believe that that is precisely the intended use of the response.sendRedirect ... when you are redirecting OFF your site (to an absolute path). The specs say that sendRedirect takes an absolute path, so it is not good to use for forwarding around within your site, where relative paths are obviously best. Good to hear that you're using the RequestDispatcher for this purpose now. HTH, -Jeff "Sullivan, Mark E" <Mark.Sullivan@nav-internat To: "'Tomcat Users List'" <[EMAIL PROTECTED]> ional.com> cc: Subject: RE: RequestDispatcher forward versus response.sendRedirect 07/24/02 11:13 AM Please respond to "Tomcat Users List" when you say response.sendRedirect doesn't work, what kind of error/unexpected behavior are you getting? -----Original Message----- From: Jason Stortz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 11:12 AM To: Tomcat Users List Subject: RequestDispatcher forward versus response.sendRedirect Anyone have any hard and fast rules, good links, general info, do and don't lists, or anything about these two? We moved from iPlanet 4.1 where we did all redirection with response.sendRedirect. That didn't work with tomcat so I started using the forward method of RequestDispatcher. Well, now I need to use a NON relative path to redirect the user off our site. While I think response.sendRedirect will work in this instance I cannot seem to formulate a theory why it works here and not in other parts of our site. Does anyone have any information on this I can read, or advice? Thanks! Jason -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>