Re: flushing system.out

2006-06-16 Thread Nishant Deshpande
I'm using Tomcat 5.0.28 and SuSe Linux 9.3 On 6/15/06, Mir Kasim Ali <[EMAIL PROTECTED]> wrote: Can u tell me which OS ure using and what version of Tomcat On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote: > > i'm printing stuff out to system.out in tomcat, but it doesn't get > flushed t

Re: flushing system.out

2006-06-16 Thread Glenn Holliday
t;[EMAIL PROTECTED]> 06/16/2006 08:45 AM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: flushing system.out System.out.println is a synchronized call, and will become a performance bottleneck on highly concurrent applications, the ideal is to use a l

Re: flushing system.out

2006-06-16 Thread Filip Hanik - Dev Lists
ch purpose. Tim Funk <[EMAIL PROTECTED]> 06/16/2006 07:14 AM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: flushing system.out I doubt you want to print to syste

Re: flushing system.out

2006-06-16 Thread Glenn Holliday
ch purpose. Tim Funk <[EMAIL PROTECTED]> 06/16/2006 07:14 AM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject Re: flushing system.out I doubt you w

Re: flushing system.out

2006-06-16 Thread Tim Funk
I doubt you want to print to system.out in a servlet (or jsp). Odds are you want flushBuffer http://tomcat.apache.org/tomcat-5.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html#flushBuffer() or flush http://tomcat.apache.org/tomcat-5.0-doc/jspapi/javax/servlet/jsp/JspWriter.html#flush()

Re: flushing system.out

2006-06-15 Thread Mir Kasim Ali
Can u tell me which OS ure using and what version of Tomcat On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote: i'm printing stuff out to system.out in tomcat, but it doesn't get flushed till the end of the request. (i've tried system.out.flush()) has anyone got solutions to this problem