tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Tomcat vs Websphere sendRedirect
Date Tue, 08 Oct 2002 13:09:47 GMT
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:jaawohl@yahoo.com]
>Sent: Monday, October 07, 2002 5:57 PM
>To: tomcat-user@jakarta.apache.org
>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

Mime
View raw message