From 4a5a2b18aca8e60228dfb4507fc7aa540ff64727 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 10 Nov 2009 19:03:17 +0000 Subject: [PATCH] SPR-6169: Clarified that DispatcherServlet configuraion options are init-param values for the servlet declaration, not context params --- spring-framework-reference/src/mvc.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/spring-framework-reference/src/mvc.xml b/spring-framework-reference/src/mvc.xml index ba233d3d7db..49e6b4d02f0 100644 --- a/spring-framework-reference/src/mvc.xml +++ b/spring-framework-reference/src/mvc.xml @@ -281,7 +281,7 @@ WebApplicationContext, which inherits all the beans already defined in the root WebApplicationContext. These inherited - beans defined can be overridden in the servlet-specific scope, and + beans can be overridden in the servlet-specific scope, and you can define new scope-specific beans local to a given servlet instance. @@ -303,7 +303,7 @@ the framework looks for a file named [servlet-name]-servlet.xml in the - WEB-INF directory of your web application and create + WEB-INF directory of your web application and creates the beans defined there, overriding the definitions of any beans defined with the same name in the global scope. @@ -505,10 +505,12 @@ LastModified interface is returned to the client. - You can customize Spring's DispatcherServlet - by adding context parameters in the web.xml file or - servlet initialization parameters. See the following table. - + You can customize individual DispatcherServlet + instances by adding servlet initialization parameters (init-param elements) + to the servlet declaration in the web.xml file. See the following table for the list + of supported parameters. + + <classname>DispatcherServlet</classname> initialization