There is a requirement for my app to go back to the browser in order to
redirect.

Is the "use HTTP response code 307" more seamless to the user/browser,
compared to the "Javascript onload submit" way of doing it?

Also, how do I tell Struts controller to redirect with 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]> 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 sent out to
server
> > B.
> 
> Why would not you call B from A, then get response and send it back to
> browser, so that browser would not even know about B existance?
> 
> > The browser will, for sure have to sent that new form to the
> > other server.
> 
> Is this a requirement?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to