@ -137,39 +137,41 @@ public class DispatcherServlet extends FrameworkServlet {
@@ -137,39 +137,41 @@ public class DispatcherServlet extends FrameworkServlet {
public static final String THEME_RESOLVER_BEAN_NAME = "themeResolver" ;
/ * *
* Well - known name for the HandlerMapping object in the bean factory for this namespace . Only used when
* "detectAllHandlerMappings" is turned off .
* Well - known name for the HandlerMapping object in the bean factory for this namespace .
* Only used when "detectAllHandlerMappings" is turned off .
* @see # setDetectAllHandlerMappings
* /
public static final String HANDLER_MAPPING_BEAN_NAME = "handlerMapping" ;
/ * *
* Well - known name for the HandlerAdapter object in the bean factory for this namespace . Only used when
* "detectAllHandlerAdapters" is turned off .
* Well - known name for the HandlerAdapter object in the bean factory for this namespace .
* Only used when "detectAllHandlerAdapters" is turned off .
* @see # setDetectAllHandlerAdapters
* /
public static final String HANDLER_ADAPTER_BEAN_NAME = "handlerAdapter" ;
/ * *
* Well - known name for the HandlerExceptionResolver object in the bean factory for this namespace . Only used when
* "detectAllHandlerExceptionResolvers" is turned off .
* Well - known name for the HandlerExceptionResolver object in the bean factory for this namespace .
* Only used when "detectAllHandlerExceptionResolvers" is turned off .
* @see # setDetectAllHandlerExceptionResolvers
* /
public static final String HANDLER_EXCEPTION_RESOLVER_BEAN_NAME = "handlerExceptionResolver" ;
/** Well-known name for the RequestToViewNameTranslator object in the bean factory for this namespace. */
/ * *
* Well - known name for the RequestToViewNameTranslator object in the bean factory for this namespace .
* /
public static final String REQUEST_TO_VIEW_NAME_TRANSLATOR_BEAN_NAME = "viewNameTranslator" ;
/ * *
* Well - known name for the ViewResolver object in the bean factory for this namespace . Only used when
* "detectAllViewResolvers" is turned off .
* Well - known name for the ViewResolver object in the bean factory for this namespace .
* Only used when "detectAllViewResolvers" is turned off .
* @see # setDetectAllViewResolvers
* /
public static final String VIEW_RESOLVER_BEAN_NAME = "viewResolver" ;
/ * *
* Request attribute to hold the current web application context . Otherwise only the global web app context is
* obtainable by tags etc .
* Request attribute to hold the current web application context .
* Otherwise only the global web app context is obtainable by tags etc .
* @see org . springframework . web . servlet . support . RequestContextUtils # getWebApplicationContext
* /
public static final String WEB_APPLICATION_CONTEXT_ATTRIBUTE = DispatcherServlet . class . getName ( ) + ".CONTEXT" ;