Skip to content

wrong example given at section 17.4 Handler mappings [SPR-13832] #18405

@spring-projects-issues

Description

@spring-projects-issues

Constantino Cronemberger opened SPR-13832 and commented

The example given at:

http://docs.spring.io/spring/docs/3.2.16.RELEASE/spring-framework-reference/htmlsingle/#mvc-handlermapping

Does not work.

I had to remove the id from the bean declaration for it to work:

<beans>
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping">
<property name="interceptors">
<bean class="example.MyInterceptor"/>
</property>
</bean>
<beans>


Affects: 3.2.16

Backported to: 3.2.17

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions