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

Provide servlet 3.0 web fragment to startup application context without web.xml modifications [SPR-7872] #12529

spring-projects-issues opened this issue Jan 11, 2011 · 2 comments


Copy link

@spring-projects-issues spring-projects-issues commented Jan 11, 2011

Tomasz Nurkiewicz opened SPR-7872 and commented

In servlet 3.0 compatible environments it would be nice to have spring-web-fragment*.jar available in repos, containing /META-INF/web-fragment.xml file. This JAR/file would be responsible for starting up web application context. Now web.xml modification is always required. By using dedicated web fragment user would only have to add this JAR to /WEB-INF/lib of WAR. The biggest challenge is to decide how should the minimal applicationContext.xml, shipped with web fragment JAR, look like. See discussion here.

Affects: 3.0.5

Issue Links:

  • #10258 Support Servlet 3.0 (JSR-315)

4 votes, 5 watchers

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Jan 13, 2011

Chris Winters commented

While doing this it would also be useful to enable construction of an ApplicationContext outside the bounds of a web container, then register the context with the container. I currently have a ServletContextListener to do this, but it will not work with Spring MVC in 3.0.

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Mar 4, 2014

Stevo Slavić commented

"Fix version" is invalid for current resolution status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants