According to 6.1, The isCommitted method returns a boolean value indicating whether or not any bytes from the response have yet been returned to the client. The flushBuffer method forces any content to be written to the client. This leaves it open as to whether a call on flushBuffer should trigger a commit (ie. sending of response headers) if nothing has yet been written to the ServletOutputStream or Writer (ie. there's no content to write yet). Forcing a header write in this case looks like being the Right Thing to do. Cheers, Miles -- Miles Sabin Cromwell Media Internet Systems Architect 5/6 Glenthorne Mews +44 (0)181 410 2230 London, W6 0LJ [EMAIL PROTECTED] England ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
