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
> java.io.PrintStream(System.out);
> pw.println("helo try reading this");
instead of
> System.out.println("helo try reading this");
and I just could not capture them.
So this seemed the correct solution.
Regards,
Anil Oommen
Technical Member
Banyanlabs , India
[EMAIL PROTECTED]
[EMAIL PROTECTED]