Skip to content

Commit 26fb880

Browse files
committed
Add mvc: prefix to mapping samples in ref docs
Add 'mvc:' namespace prefix to 'mapping' and 'exclude-mapping' elements in the reference documentation. Issue: SPR-10670
1 parent 2d8315f commit 26fb880

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reference/docbook/mvc.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5072,12 +5072,12 @@ public class WebConfig extends WebMvcConfigurerAdapter {
50725072
<programlisting language="xml">&lt;mvc:interceptors&gt;
50735073
&lt;bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" /&gt;
50745074
&lt;mvc:interceptor&gt;
5075-
&lt;mapping path="/**"/&gt;
5076-
&lt;exclude-mapping path="/admin/**"/&gt;
5075+
&lt;mvc:mapping path="/**"/&gt;
5076+
&lt;mvc:exclude-mapping path="/admin/**"/&gt;
50775077
&lt;bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor" /&gt;
50785078
&lt;/mvc:interceptor&gt;
50795079
&lt;mvc:interceptor&gt;
5080-
&lt;mapping path="/secure/*"/&gt;
5080+
&lt;mvc:mapping path="/secure/*"/&gt;
50815081
&lt;bean class="org.example.SecurityInterceptor" /&gt;
50825082
&lt;/mvc:interceptor&gt;
50835083
&lt;/mvc:interceptors&gt;

0 commit comments

Comments
 (0)