One final thing in case anyone else is interested... it looks like Java
does the wrong thing and converts POST to GET on a redirect by default.
However, you can set the system property "http.strictPostRedirect" in
Java and then this will use POST for a redirect.
Rich
Rich Giuli wrote:
Hi Bi
Hi Bill,
Thanks! I can see why this shouldn't be changed because it will break a
lot of apps.
I am using a Java URL, so it appears that Java isn't redirecting with
the same method! I tested from Firefox and it redirects correctly. This
isn't an issue for me anymore because I actually do not
It's a well-known bug with most browsers. RFC 2616 actually states that the
browser should respond to a 302 redirect with the same method as the original
request, but most browser implementations ignore this. Complain to the browser
vendor ;-).
You don't say what your servlet-mapping is. If