code: public final PreviousPageInfo getPreviousPageInfoLegacy( PageFlowController curJpf, HttpServletRequest request )
      {
          if (PageFlowRequestWrapper.get(request).isReturningFromNesting())
          {
              return getCurrentPageInfo();
          }
          else
          {
              return getPreviousPageInfo();
          }
      }
docs: Get a legacy PreviousPageInfo.
  @deprecated This method will be removed without replacement in the next release.