Re: GET redirect from a POST

2006-05-17 Thread Rich Giuli
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

Re: GET redirect from a POST

2006-05-17 Thread Rich Giuli
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

Re: GET redirect from a POST

2006-05-16 Thread Bill Barker
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