Re: Struts 2 validation and Redirect After Post

2007-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Perryn, Fowler, Perryn wrote: > If I have a form that I want to submit with a POST, I want the > response to this to always be a REDIRECT to a GET. > > I probably want this even in the case of validation failures that > cause the form to be re-displa

Re: Struts 2 validation and Redirect After Post

2007-05-22 Thread Ian Roughley
I think what you are after is a flash scope implementation. There is a flash result and flash interceptor that Pat/Toby checked into the webwork project. With a couple small changes they will work in s2. At some point I guess they should be moved across. /Ian Fowler, Perryn wrote: Hi,

Struts 2 validation and Redirect After Post

2007-05-22 Thread Fowler, Perryn
Hi, I want to use the redirect after post pattern in order to have a web app that is well behaved when the user hits back, refresh etc etc I also want to use the Struts 2 validation framework. At first glance though, the two seem incompatible: If I have a form that I want to submit

Struts 2 validation and Redirect After Post

2007-05-22 Thread Fowler, Perryn
Hi, I want to use the redirect after post pattern in order to have a web app that is well behaved when the user hits back, refresh etc etc I also want to use the Struts 2 validation framework. At first glance though, the two seem incompatible: If I have a form that I want to submit with a POS