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