From: Ross K. <ro...@po...> - 2003-01-08 03:34:59
|
Hi all Nice to see some activity here. -- Jason Sweat <jsw...@ya...> wrote: >I disagree with the idea of removing the redirection from the = architecture >because it serves a very useful purpose, one that, IMHO, far outweighs = any >performance considerations. > >The redirection after a POST request forces the user's browser to issue = a GET >request for the view page. This has the effect of correcting a major = problem >with users hitting the refresh button on the next page, forcing the = browser to >re-submit the POST request. =20 I think there is a need for both. Isn't that what the 'forward' or 'redirect' choice in the mapping does in Struts? Certainly if your initial request is a GET then I don't see why it should always come back with a redirect. Maybe that is what you mean, only force it to happen with a POST. Cheers Ross |