File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -8189,14 +8189,6 @@ You can register an `ApplicationContext` using the `ContextLoaderListener` as fo
8189
8189
<listener>
8190
8190
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
8191
8191
</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
- -->
8200
8192
----
8201
8193
8202
8194
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
8208
8200
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
8209
8201
in any subdirectory of "WEB-INF".
8210
8202
8211
- You can use `ContextLoaderServlet` instead of `ContextLoaderListener`. The Servlet uses
8212
- the `contextConfigLocation` parameter just as the listener does.
8213
-
8214
8203
8215
8204
8216
8205
[[context-deploy-rar]]
You can’t perform that action at this time.
0 commit comments