You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Apache Wiki <wi...@apache.org> on 2005/07/10 05:44:27 UTC

[Struts Wiki] Update of "StrutsCatalogRedirectToInputPage" by HubertRabago

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification.

The following page has been changed by HubertRabago:
http://wiki.apache.org/struts/StrutsCatalogRedirectToInputPage

The comment on the change is:
Update the information about availability of ActionRedirect.

------------------------------------------------------------------------------
     * A user is redirected to the view location
     * A browser loads the view using GET request
  
- Current stable Struts version (1.2.6) does not provide means to redirect with parameters. You need to write the utility method yourself. On the other hand, a class called "!ActionRedirect", which allows adding parameters to a redirecting !ActionConfig, was added to Struts repository. It can be accessed from nightly build.
+ A new !ActionForward subclass,  [http://struts.apache.org/api/org/apache/struts/action/ActionRedirect.html ActionRedirect], allows adding request parameters at runtime to the redirected request. It is available starting with Struts 1.2.7.
  
  With redirection a user can refresh result page anytime, or browse back and forward without causing resubmit. He is happy, data is intact, and no tokens needed. Oops, we forgot that "input" property, which sends a user to the input/error page, does not allow redirection by default.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org