tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat vs Websphere sendRedirect
Date Tue, 08 Oct 2002 13:09:47 GMT
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 []
>Sent: Monday, October 07, 2002 5:57 PM
>Subject: Tomcat vs Websphere sendRedirect
>In WebSphere I do a sendRedirect("/servlet/MyServlet") within a servlet
>it works successfully.  It prepends the host and root URI.  Why can't I
>the same thing in Tomcat?  It does not prepend the root URI.  Do I not
>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

View raw message