Posted By

sonnyg on 10/04/08


Tagged

struts2


Versions (?)

Add a redirect message when doing Post then Redirect in Struts2


 / Published in: Java
 

URL: http://www.vitarara.org/cms/struts_2_cookbook/post_and_redirect

Set parse attribute to true for the redirect-action result.

  1. <result type="redirect-action">
  2. <param name="actionName">NextAction</param>
  3. <param name="parse">true</param>
  4. <param name="redirectMessage">${redirectMessage}</param>
  5. </result>

Report this snippet  

You need to login to post a comment.