Hi,
I want to integrate a logfile into my webapp to write some info to (e.g. if
an exception is thrown). I used a stream which should be stored in a file.
I thought of opening a PrintWriter and add it to the session-objects.
But I think this is no good idea because there is a multi-user access to the
file and the streams is only written to the file if I close the stream.
Does anybody has a better solution?
Thanks
Stefan
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets