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

Closed
spring-issuemaster opened this issue Jan 11, 2011 · 2 comments

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster 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

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster 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.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster 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
Projects
None yet
2 participants
You can’t perform that action at this time.