Skip to content

Clarify on closing response before returning from dispatch forward() #426

Open
@pmd1nh

Description

@pmd1nh

Servlet Spec. section 9.4. The Forward Method states:

Before the forward method of the RequestDispatcher interface returns without exception, the response content must be sent and committed, and closed by the servlet container, unless the request was put into the asynchronous mode.

When a wrapped response is used in the dispatch forward, which response object should be closed:

  1. The wrapped response
  2. The underlying/base response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Candidate4NextReleaseThis issues should be consider for inclusion in the next release project.QuestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions