Hi, It's WebSphere that's broken here, not Tomcat. You've just been taking advantage of that prepending, which is not supposed to happen. sendRedirect() is supposed to be resolved relative to the web server root if you give it something that starts with a /.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jared Reeve [mailto:[EMAIL PROTECTED]] >Sent: Monday, October 07, 2002 5:57 PM >To: [EMAIL PROTECTED] >Subject: Tomcat vs Websphere sendRedirect > > >In WebSphere I do a sendRedirect("/servlet/MyServlet") within a servlet and >it works successfully. It prepends the host and root URI. Why can't I do >the same thing in Tomcat? It does not prepend the root URI. Do I not have >something configured correctly? I would like to port this application >without changing any code. Thanks. >function SetDomain(d) { document.domain = d; } > > >--------------------------------- >Do you Yahoo!? >Faith Hill - Exclusive Performances, Videos, & more >faith.yahoo.com
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
