code: public static ActionResolver getCurrentActionResolver( HttpServletRequest request, ServletContext servletContext )
      {
          StorageHandler sh = Handlers.get( servletContext ).getStorageHandler();
          HttpServletRequest unwrappedRequest = unwrapMultipart( request );
          RequestContext rc = new RequestContext( unwrappedRequest, null );
          
          //
          // First see if the current page flow is a long-lived, which is stored in its own attribute.
          //
          String currentLongLivedAttrName =
                  ScopedServletUtils.getScopedSessionAttrName( CURRENT_LONGLIVED_ATTR, unwrappedRequest );
          String currentLongLivedModulePath = ( String ) sh.getAttribute( rc, currentLongLivedAttrName );
          
          if ( currentLongLivedModulePath != null )
          {
              return getLongLivedPageFlow( currentLongLivedModulePath, unwrappedRequest );
          }
          else
          {
              String currentJpfAttrName = ScopedServletUtils.getScopedSessionAttrName( CURRENT_JPF_ATTR, unwrappedRequest );
              return ( ActionResolver ) sh.getAttribute( rc, currentJpfAttrName );
          }
      }
docs: Get the current ActionResolver.
  @deprecated Use {@link #getCurrentPageFlow(HttpServletRequest, ServletContext)} instead.
  
  
  @param request the current HttpServletRequest.
  @param servletContext the current ServletContext.
  @return the current ActionResolver from the user session, or <code>null</code> if there is none.