Closure of Response Object
When a response is closed, the container must immediately flush all remaining content in the response buffer to the client. The following events indicate that the servlet has satisfied the request and that the response object is to be closed:
=> The termination of the service method of the servlet.
=> The amount of content specified in the setContentLength method of the response has been written to the response.
=> The sendError method is called.
=> The sendRedirect method is called.
=> The termination of the service method of the servlet.
=> The amount of content specified in the setContentLength method of the response has been written to the response.
=> The sendError method is called.
=> The sendRedirect method is called.
No comments:
Post a Comment