Backported reference documentation fixes
Issue: SPR-13832 Issue: SPR-14003
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
message=Alligators rock!</programlisting>
|
||||
|
||||
<programlisting language="java"><lineannotation># in exceptions.properties</lineannotation>
|
||||
argument.required=The '{0}' argument is required.</programlisting>
|
||||
argument.required=The {0} argument is required.</programlisting>
|
||||
|
||||
<para>A program to execute the <classname>MessageSource</classname>
|
||||
functionality is shown in the next example. Remember that all
|
||||
@@ -219,7 +219,7 @@ argument.required=The '{0}' argument is required.</programlisting>
|
||||
<programlisting>The userDao argument is required.</programlisting>
|
||||
|
||||
<para>With regard to internationalization (i18n), Spring's various
|
||||
<classname>MessageResource</classname> implementations follow the same
|
||||
<classname>MessageSource</classname> implementations follow the same
|
||||
locale resolution and fallback rules as the standard JDK
|
||||
<classname>ResourceBundle</classname>. In short, and continuing with the
|
||||
example <literal>messageSource</literal> defined previously, if you want
|
||||
@@ -233,7 +233,7 @@ argument.required=The '{0}' argument is required.</programlisting>
|
||||
messages will be resolved is specified manually.</para>
|
||||
|
||||
<programlisting><lineannotation># in exceptions_en_GB.properties</lineannotation>
|
||||
argument.required=Ebagum lad, the '{0}' argument is required, I say, required.</programlisting>
|
||||
argument.required=Ebagum lad, the {0} argument is required, I say, required.</programlisting>
|
||||
|
||||
<programlisting language="java">public static void main(final String[] args) {
|
||||
MessageSource resources = new ClassPathXmlApplicationContext("beans.xml");
|
||||
|
||||
@@ -2751,7 +2751,7 @@ deferredResult.setResult(data);
|
||||
<para>The following example shows how to configure an interceptor:</para>
|
||||
|
||||
<programlisting language="xml"><beans>
|
||||
<bean id="handlerMapping" class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
|
||||
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
|
||||
<property name="interceptors">
|
||||
<bean class="example.MyInterceptor"/>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user