I have got a query regarding PrintWriter,

2001-04-02 Thread Anil
I have been trying to intercept all the System.out and System.err request given in the tomcat. Here is the excerpts of the Code. I wrote a class WSPrintStream that extends PrintStream and overided the commonly used println(..) statements. /* * WSPrintStream.java * * Created on March 31,

Re: I have got a query regarding PrintWriter,

2001-04-02 Thread Mel Martinez
--- Anil [EMAIL PROTECTED] wrote: I have been trying to intercept all the System.out and System.err request given in the tomcat. Here is the excerpts of the Code. I wrote a class WSPrintStream that extends PrintStream and overided the commonly used println(..) statements.

RE: I have got a query regarding PrintWriter,

2001-04-02 Thread Anil
Thank you, Dr Mel Martinez, I have tried it and it did work. I believe you have asked aw why I have gone for this solution. Well I was trying to capture all the messages sent to the Std.output stream in tomcat. The code has snippets like java.io.PrintStream pw = new