Skip to content

Commit b87329c

Browse files
committed
Remove outdated references to ContextLoaderServlet
Issue: SPR-7725 (cherry picked from commit 94e26fd)
1 parent f21c8c3 commit b87329c

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
@@ -8189,14 +8189,6 @@ You can register an `ApplicationContext` using the `ContextLoaderListener` as fo
81898189
<listener>
81908190
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
81918191
</listener>
8192-
8193-
<!-- or use the ContextLoaderServlet instead of the above listener
8194-
__<servlet>
8195-
<servlet-name>context</servlet-name>
8196-
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
8197-
<load-on-startup>1</load-on-startup>
8198-
</servlet>__
8199-
-->
82008192
----
82018193

82028194
The listener inspects the `contextConfigLocation` parameter. If the parameter does not
@@ -8208,9 +8200,6 @@ Examples are `/WEB-INF/*Context.xml` for all files with names ending with "Conte
82088200
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
82098201
in any subdirectory of "WEB-INF".
82108202

8211-
You can use `ContextLoaderServlet` instead of `ContextLoaderListener`. The Servlet uses
8212-
the `contextConfigLocation` parameter just as the listener does.
8213-
82148203

82158204

82168205
[[context-deploy-rar]]

0 commit comments

Comments
 (0)