Remove outdated references to ContextLoaderServlet
Issue: SPR-7725
This commit is contained in:
@@ -8883,14 +8883,6 @@ You can register an `ApplicationContext` using the `ContextLoaderListener` as fo
|
|||||||
<listener>
|
<listener>
|
||||||
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
<!-- or use the ContextLoaderServlet instead of the above listener
|
|
||||||
__<servlet>
|
|
||||||
<servlet-name>context</servlet-name>
|
|
||||||
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
|
|
||||||
<load-on-startup>1</load-on-startup>
|
|
||||||
</servlet>__
|
|
||||||
-->
|
|
||||||
----
|
----
|
||||||
|
|
||||||
The listener inspects the `contextConfigLocation` parameter. If the parameter does not
|
The listener inspects the `contextConfigLocation` parameter. If the parameter does not
|
||||||
@@ -8902,9 +8894,6 @@ Examples are `/WEB-INF/*Context.xml` for all files with names ending with "Conte
|
|||||||
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
|
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
|
||||||
in any subdirectory of "WEB-INF".
|
in any subdirectory of "WEB-INF".
|
||||||
|
|
||||||
You can use `ContextLoaderServlet` instead of `ContextLoaderListener`. The Servlet uses
|
|
||||||
the `contextConfigLocation` parameter just as the listener does.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[[context-deploy-rar]]
|
[[context-deploy-rar]]
|
||||||
|
|||||||
Reference in New Issue
Block a user