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" <[EMAIL PROTECTED]>
To: <[email protected]>
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: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]