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 HTML on the page that says something to the effect of "Your transaction is in process. Select the continue button to complete the process". Then have the "continue" button be the form submission.

Another possibility would be to have A contact B for the client, and relay the response.

Michael Jouravlev wrote:
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 this response
code at all.

See: http://ppewww.ph.gla.ac.uk/~flavell/www/post-redirect.html

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Neil Erdwien, [EMAIL PROTECTED], Web Technologies Manager
Computing and Network Services, Kansas State University

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to