Skip to content

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

@spring-projects-issues

Description

@spring-projects-issues

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:

4 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions