code: public void savePreviousPageInfo( ActionForward forward, ActionForm form, ActionMapping mapping,
                                        HttpServletRequest request, ServletContext servletContext,
                                        boolean isSpecialForward )
      {
          //
          // Special case: if the given forward has a path to a page in the current pageflow, let that pageflow save
          // the info on this page.  Otherwise, don't ever save any info on what we're forwarding to.
          //
          if ( ! isSpecialForward && forward != null )  // i.e., it's a straight Forward to a path, not a navigateTo, etc.
          {
              PageFlowController currentJpf = PageFlowUtils.getCurrentPageFlow( request, getServletContext() );
              
              if ( currentJpf != null )
              {
                  if ( forward.getContextRelative() && forward.getPath().startsWith( currentJpf.getModulePath() ) )
                  {
                      currentJpf.savePreviousPageInfo( forward, form, mapping, request, servletContext, isSpecialForward );
                  }
              }
          }
      }
docs: Store information about recent pages displayed.  This is a framework-invoked method that should not normally be
  called directly.