I thought this pattern was called Post-Redirect-Get (PRG)? Strange that it's name has morphed into something else.

You implement it using 'redirect' result types. Check them out in the struts user guide.

Manoj Dhore on 15/04/09 15:42, wrote:
Have a lot at this:

http://cwiki.apache.org/WW/redirect-after-post.html

There are other sites as well which has examples and will help you to
use Redirect-after-post



-----Original Message-----
From: maestro [mailto:maestr...@gmail.com] Sent: 15 April 2009 15:38
To: Struts Users Mailing List
Subject: Redirect After Post

Hello,

We are in the process of looking at Struts2.
Here is a pattern:
http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost

Generally the web page has lists, inputted data and possible error
messages.
In case of errors, the list items and selections, and inputted data must
be
preserved and redisplayed to the user.

What is the best way to implement this pattern using Struts2?
Anything built-in?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to