Hi All I have a servlet (running under TomCat) that serves up requests for product information. The servlet gets the information required and then writes the data back to the response objects writer. I've now been asked to log these requests and since this will involve writing to an output file I'm going to need to use some synchronised methods. So I don't delay the display of the information I want to do this after I've finished writing to the response object. Is the browser guarenteed to complete the display of the output when I flush and close the response.writer object or does it wait until the end of the doGet/doPost method?
Regards Roger ************************************************************************ Information in this message is confidential and may be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please notify the sender and delete the message immediately. Unauthorised disclosure, distribution and copying of this email is strictly prohibited. The opinions expressed within this message are those of the individual author. Whilst Brake Bros takes reasonable steps to scan this email it does not accept liability for any virus that may be contained in it. Bros Foodservice Limited, Enterprise House, Eureka Business Park, Ashford, Kent TN25 4AG. Registered in England and Wales number 706764. Telephone 01233 206000 Fax 01233 206006. ___________________________________________________________________________ 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
