On Thu, 20 Jan 2005 13:27:59 +1000, Matthew Ryan <[EMAIL PROTECTED]> wrote: > Want to ask if many people implement something of a PRG in the handling of > Actions (and forwards)?
It is, of course, easy to implement this ... just set redirect="true" on your forwards and you get the PRG result. But it comes with costs: the increased network bandwidth of the extra round trip, but (more importantly for a Struts app) the loss of the ability to use request scope attributes to pass information to the new page. Personally, my Struts apps use transaction tokens to guard against duplicate submits, which deals with the most egregious of the problems that PRG addresses. (And yes, that means I care very little about the URLs that are displayed -- in a web *application* instead of a web *site*, URLs should be considered an implementation detail :-). Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]