SPR-6169: Clarified that DispatcherServlet configuraion options are init-param values for the servlet declaration, not context params

This commit is contained in:
Luke Taylor 2009-11-10 19:03:17 +00:00
parent d293c2248c
commit 4a5a2b18ac
1 changed files with 8 additions and 6 deletions

View File

@ -281,7 +281,7 @@
<interfacename>WebApplicationContext</interfacename>, which inherits all <interfacename>WebApplicationContext</interfacename>, which inherits all
the beans already defined in the root the beans already defined in the root
<interfacename>WebApplicationContext</interfacename>. These inherited <interfacename>WebApplicationContext</interfacename>. These inherited
beans defined can be overridden in the servlet-specific scope, <!--Preceding line is garbled; how should it read?-->and beans can be overridden in the servlet-specific scope, and
you can define new scope-specific beans local to a given servlet you can define new scope-specific beans local to a given servlet
instance.</para> instance.</para>
@ -303,7 +303,7 @@
the framework <!--Spring MVC or Spring Framework?--><emphasis><emphasis>looks the framework <!--Spring MVC or Spring Framework?--><emphasis><emphasis>looks
for a file named</emphasis> for a file named</emphasis>
<literal>[servlet-name]-servlet.xml</literal></emphasis> in the <literal>[servlet-name]-servlet.xml</literal></emphasis> in the
<literal>WEB-INF</literal> directory of your web application and create <literal>WEB-INF</literal> directory of your web application and creates
the beans defined there, overriding the definitions of any beans defined the beans defined there, overriding the definitions of any beans defined
with the same name in the global scope.</para> with the same name in the global scope.</para>
@ -505,10 +505,12 @@
<interfacename>LastModified</interfacename> interface is returned to the <interfacename>LastModified</interfacename> interface is returned to the
client.</para> client.</para>
<para>You can customize Spring's <classname>DispatcherServlet</classname> <para>You can customize individual <classname>DispatcherServlet</classname>
by adding context parameters in the <literal>web.xml</literal> file or instances by adding servlet initialization parameters (<literal>init-param</literal> elements)
servlet initialization parameters. See the following table.</para> to the servlet declaration in the <literal>web.xml</literal> file. See the following table for the list
<!--Reword above sentence to specify whether configuring parameters in table configures last-modification-date, or are they further --><!--customization for some other purpose? If so, need to explain how you config last-modification-date--> of supported parameters.</para>
<!--Reword above sentence to specify whether configuring parameters in table configures last-modification-date, or are they further -->
<!--customization for some other purpose? If so, need to explain how you config last-modification-date-->
<table id="mvc-disp-servlet-init-params-tbl"> <table id="mvc-disp-servlet-init-params-tbl">
<title><classname>DispatcherServlet</classname> initialization <title><classname>DispatcherServlet</classname> initialization