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 @@ -8883,14 +8883,6 @@ You can register an `ApplicationContext` using the `ContextLoaderListener` as fo
8883
8883
<listener>
8884
8884
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
8885
8885
</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
- -->
8894
8886
----
8895
8887
8896
8888
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
8902
8894
residing in the "WEB-INF" directory, and `/WEB-INF/**/*Context.xml`, for all such files
8903
8895
in any subdirectory of "WEB-INF".
8904
8896
8905
- You can use `ContextLoaderServlet` instead of `ContextLoaderListener`. The Servlet uses
8906
- the `contextConfigLocation` parameter just as the listener does.
8907
-
8908
8897
8909
8898
8910
8899
[[context-deploy-rar]]
You can’t perform that action at this time.
0 commit comments