I don't know anything about the logic:redirect tag, but trying to redirect a 
POST transaction brings up other issues. The HTTP RFC, as far as I know, 
doesn't prohibit this behavior, but you are probably going to find browser 
compatibility problems.

The reason is that GET is mainly for indempotent transactions, whereas POST is 
not (although POST is often used for indempotent transactions because of 
disadvantages of GET such as query string length). What if your browser 
submitted your credit card details to a server, that server sent your browser a 
redirect, and your browser just went ahead and sent your credit card details on 
to another server without even asking you for permission?

As I understand it, there is some support for POST redirect in newer browsers, 
so it may be possible, but I would doubt that any browser would do this without 
popping up some sort of alert for the user.

Erik


-----Original Message-----
From: Andrew Thorell <[EMAIL PROTECTED]>
Sent: May 20, 2005 2:08 PM
To: Struts Mailing List <user@struts.apache.org>
Subject: Submitting form data via redirect

Greetings all,

I was wondering if anyone knows of a way to submit form data via a
<logic:redirect> action.
The fields are auto populated so the user doesn't need to see
anything. Does the redirect tag already do this?

Any thoughts?

Thanks,

Andrew

---------------------------------------------------------------------
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