Return to Page Icon

The Return to Page icon shows that an action method loads the previous page:

For example, if Page1.jsp calls Page2.jsp, and Page2.jsp calls a return-to-page action, navigation returns to Page1.jsp.

The corresponding code for the action method in the JPF controller file is:

 /**
  * @jpf:action
  * @jpf:forward name="again" return-to="previousPage"
  */
  public Forward goAgain()
  {
     return new Forward( "again" );
  }
   

Related Topics

Action Icon

Begin Action Icon

Exit Icon

JavaServer Page (JSP) Icon

Page Flow Icon

Return to Action Icon

Guide to Building Page Flows

Page Flow and JSP Reference