RE: Redirect with a POST instead of a GET

2006-02-23 Thread St-Pierre, Alain
ith code 307? Alain. --- > -Original Message- > From: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Sent: February 23, 2006 1:48 PM > To: Struts Users Mailing List > Subject: Re: Redirect with a POST instead of a GET > > On 2/23/06, St-Pierre, Alain <[EMAIL PROTECTED]> wr

Re: Redirect with a POST instead of a GET

2006-02-23 Thread Michael Jouravlev
On 2/23/06, St-Pierre, Alain <[EMAIL PROTECTED]> wrote: > Here is my requirement: > > I have two separate Application servers. The server A will host my html > form. > > When I submit my form, I want to go in an Action class of my server A, > which will prepare a new form (different one), to be se

Re: Redirect with a POST instead of a GET

2006-02-23 Thread Neil Erdwien
I don't think you want an HTTP redirect at all. I would include, on the second form (the one created by A to be posted to B), client-side JavaScript that does the form submission when the page is loaded. If there is any chance that JavaScript wouldn't be available, you could include static HT

Re: Redirect with a POST instead of a GET

2006-02-23 Thread Michael Jouravlev
On 2/23/06, St-Pierre, Alain <[EMAIL PROTECTED]> wrote: > Is there a built-in mechanism in Struts which allows a Redirect with an > HTTP POST method instead of GET method? Use HTTP response code 307. If browser supports it correctly, a user has to confirm redirection. Many browsers do not support