tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Tomcat and Redirects
Date Thu, 09 Nov 2000 18:23:06 GMT
the quick answer is to handle the response-code in web.xml e.g.

    <error-page>
      <error-code>302</error-code>
      <location>/axis2-web/Error/error302.jsp</location>
    </error-page>

M--
----- Original Message ----- 
From: "Dwebb" <d.webb@dsl.pipex.com>
To: <users@tomcat.apache.org>
Sent: Friday, November 09, 2007 11:35 AM
Subject: Tomcat and Redirects


> Hi All,
> 
> I have a question about how Tomcat handles redirects.  We have a vendor
> who wrote an application for us and they tell us that they always use
> the same method of issuing redirects in their code.  
> 
> What we have seen is on certain requests from a WAP handset the
> application will issue a redirect and Tomcat will issue it as an HTTP
> 302 redirect.  On other handsets for some reason these same redirects
> are issued as an HTTP 200 with an embedded link that the user has to
> click on to redirect.  
> 
> We believe this may be to the POST headers that the handset is sending
> but haven't managed to narrow it down to which.
> 
> We would like all of these redirects to be done with the automatic 302
> redirect.  
> 
> Is there any way to force these redirects to be done with the HTTP 302?
> 
> We are running Tomcat 5.5.11, Java 1.4.2_04-b05 on Linux 2.6.9-34.ELsmp
> 
> Cheers,
> 
> Danny
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message