code: public static PageFlowController getPageFlowForRelativeURI( HttpServletRequest request,
                                                                  HttpServletResponse response,
                                                                  String path,
                                                                  ServletContext servletContext )
      {
          try
          {
              return get( servletContext ).getPageFlowForPath( new RequestContext( request, response ), path );
          }
          catch ( InstantiationException e )
          {
              LOG.error( "Could not instantiate PageFlowController for request " + request.getRequestURI(), e );
              return null;
          }
          catch ( IllegalAccessException e )
          {
              LOG.error( "Could not instantiate PageFlowController for request " + request.getRequestURI(), e );
              return null;
          }
      }
docs: Get the page flow instance that should be associated with the given path.  If it doesn't exist, create it.
  If one is created, the page flow stack (for nesting) will be cleared or pushed, and the new instance will be
  stored as the current page flow.
  @deprecated Use {@link #getPageFlowForPath(RequestContext, String)} instead.
  
  @param request the current HttpServletRequest.
  @param response the current HttpServletResponse.
  @param path a <strong>webapp-relative</strong> path.  The path should not contain the webapp context path.
  @param servletContext the current ServletContext.
  @return the {@link PageFlowController} for the given path, or <code>null</code> if none was found.