Remove outdated references to ContextLoaderServlet

Issue: SPR-7725
master
Juergen Hoeller 10 years ago
parent a80495b47d
commit 94e26fd72d
  1. 11
      src/asciidoc/index.adoc

@ -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]]

Loading…
Cancel
Save