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
This commit is contained in:
parent
2d8315fba0
commit
26fb880622
|
|
@ -5072,12 +5072,12 @@ public class WebConfig extends WebMvcConfigurerAdapter {
|
|||
<programlisting language="xml"><mvc:interceptors>
|
||||
<bean class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" />
|
||||
<mvc:interceptor>
|
||||
<mapping path="/**"/>
|
||||
<exclude-mapping path="/admin/**"/>
|
||||
<mvc:mapping path="/**"/>
|
||||
<mvc:exclude-mapping path="/admin/**"/>
|
||||
<bean class="org.springframework.web.servlet.theme.ThemeChangeInterceptor" />
|
||||
</mvc:interceptor>
|
||||
<mvc:interceptor>
|
||||
<mapping path="/secure/*"/>
|
||||
<mvc:mapping path="/secure/*"/>
|
||||
<bean class="org.example.SecurityInterceptor" />
|
||||
</mvc:interceptor>
|
||||
</mvc:interceptors>
|
||||
|
|
|
|||
Loading…
Reference in New Issue