Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation with example of single ApplicationContext per webapp [SPR-11703] #16325

spring-projects-issues opened this issue Apr 17, 2014 · 1 comment
type: documentation


Copy link

@spring-projects-issues spring-projects-issues commented Apr 17, 2014

Oleksandr Gavenko opened SPR-11703 and commented

If read docs there are no info about where allowed to put mvc:annotation-driven annotation (in application context config vs servlet context).

There are some question on StackOverflow and Spring Forum about this.

have text: Configures the annotation-driven Spring MVC Controller programming model. Note that, with Spring 3.0, this tag works in Servlet MVC only!

And for String 3.2.5 - @RequestHandler is not mapped if mvc:annotation-driven put to servlet context config . But I look to latest petclinic:

and seems that mvc:annotation-driven now allowed in servlet context!

So as minimum comment in should be fixed.

And as maximum this behavior should be documented in

Affects: 4.0.3

Issue Links:

  • #11483 Portlet MVC - <mvc:annotation-driven /> doesn't inject conversion service and validator in WebDataBinder

Referenced from: commits 59a050f, 80cb0c4

0 votes, 7 watchers

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 29, 2014

Sébastien Deleuze commented

<mvc:annotation-driven /> xsd documentation has been updated, as well as reference documentation to provide more guidance about where this element should be located.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
type: documentation
None yet

No branches or pull requests

2 participants