Skip to content

Commit 94e26fd

Browse files
committed
Remove outdated references to ContextLoaderServlet
Issue: SPR-7725
1 parent a80495b commit 94e26fd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/asciidoc/index.adoc

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8883,14 +8883,6 @@ You can register an `ApplicationContext` using the `ContextLoaderListener` as fo
88838883
<listener>
88848884
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
88858885
</listener>
8886-
8887-
<!-- or use the ContextLoaderServlet instead of the above listener
8888-
__<servlet>
8889-
<servlet-name>context</servlet-name>
8890-
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
8891-
<load-on-startup>1</load-on-startup>
8892-
</servlet>__
8893-
-->
88948886
----
88958887

88968888
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
89028894
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
89038895
in any subdirectory of "WEB-INF".
89048896

8905-
You can use `ContextLoaderServlet` instead of `ContextLoaderListener`. The Servlet uses
8906-
the `contextConfigLocation` parameter just as the listener does.
8907-
89088897

89098898

89108899
[[context-deploy-rar]]

0 commit comments

Comments
 (0)