Open
Description
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:
- The wrapped response
- The underlying/base response