code: public static String getDispatchedPage(ServletRequest request) {
  		String dispatchedPage = (String)request.getAttribute(DISPATCHED_PAGE_REQUEST_ATTRIBUTE);
  		if(logger.isLoggable(Level.FINE)) logger.log(
  			Level.FINE,
  			"request={0}, dispatchedPage={1}",
  			new Object[] {
  				request,
  				dispatchedPage
  			}
  		);
  		return dispatchedPage;
  	}
docs: Gets the current-thread dispatched page or null if not set.
  
  @see  #getCurrentPagePath(javax.servlet.http.HttpServletRequest) for the version that uses current request as a default.