hi kim,
 
what u can do is use StringBuffer to write into the file.
ex : StringBuffer strb  = new StringBuffer();
      strb.append(exception.printStackTrace);
 
and then continue with normal file IO.
 

Vikramjit Singh,
Systems Engineer,
GTL Ltd.
Ph. 7612929-3140

-----Original Message-----
From: kim [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 13, 2002 7:34 PM
To: [EMAIL PROTECTED]
Subject: exception.printStackTrace()

How can I "exception.printStackTrace()" to a file instead of the tomcat console?
 
 

Reply via email to