Skip to content

FrameworkServlet does not need parent to be WebApplicationContext [SPR-6102] #10770

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-6102 and commented

FrameworkServlet does not need its parent to be WebApplicationContext, but the signature of createWebApplicationContext() mandates it. It would be a small change, but quite helpful to people embedding a servlet application (e.g. in a test) to allow that method to accept a plain ApplicationContext (as it says it does in the Javadocs)


Affects: 3.0 M3

Referenced from: commits c3bf658, af0a529

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions