Hi, 
I am not sure it's possible to understand the question but...
What kind of error are you refering to ??
If you mean exception you could do 

  exception.printStackTrace(System.out); 

To print out the stacktrace (the most usefull bit of an exception). 

But you can of course always print out the exception like this : 
 System.out.println("Exception " +  e.toString()); 
or
 System.out.println("Exception " +  e.getMessage()); 

On the other hand I recommend that you to check out log4j or some other logging 
mechanism so you can direct your error logs into a file and control what goes out 
there.
Hope it helps
-reynir



> -----Original Message-----
> From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] 
> Sent: 4. apríl 2003 16:05
> To: 'Tomcat Users List'
> Subject: System.out.println()
> 
> 
> How do we use System.out.println("error" + e) in the 
> tomcat4.1.18 to see the error messages in the console..
> 
> Thanks -Srini
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to