servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-5

Need to update dispatch forward behavior in 9.4 of the spec.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In section of 9.4 of Servlet 3.0 spec, it has the following:
      "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."

      In javadoc of AsyncContext#dispatch, it has the following:
      "Control over the request and response is delegated to the dispatch target, and the response will be closed when the dispatch target has completed execution, unless ServletRequest#startAsync() or ServletRequest#startAsync(ServletRequest, ServletResponse) are called."

      According to examples illustrated in javadoc of AsyncContext#dispatch, one need to update the information in section 9.4 so that it is consistent with those in AsyncContext#dispatch.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            Shing Wai Chan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: