| Author |
Which actions will commit a response ?
|
James Adams
Ranch Hand
Joined: Sep 12, 2003
Posts: 188
|
|
Can anyone please provide a list of actions/conditions which will commit a response ? I'm only aware of HttpServletResponse.sendError() and PrintWriter.flush(). Thanks in advance.
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
|
you might be including this with the .flush(), but if you output enough bytes to the buffer, then .flush() will be called "for you"... in which case, this also will commit the response.
|
 |
 |
|
|
subject: Which actions will commit a response ?
|
|
|