I've found the answer myself. Actually, when the connection is closed, i.e. the stop button is pressed, writing to the PrintWriter obtained by response.getWriter() doesn't necessarily throw an exception, however writing to the ServletOutputStream obtained by response.getOutputStream does. So just use the latter instead...
Thomas -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
