If all you want to do is send all System.out traffic to a file, try:
System.setOut(new java.io.PrintStream(new
java.io.FileOutputStream("C:/stdout.txt")));
(*Chris*)
----- Original Message -----
From: "Francisco Manuel Mart�nez Su�rez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 10:49 AM
Subject: [JSP-INTEREST] How to print error messages thru System
Hi to all !
I have a web application running on iAS 1.1. against a Oracle8i
database. Some pages call a Java StoredProcedure which is working bad. I'm
trying to set an error file as the output for the System.out.println method
to catch the error from the Java Stored itself but I don�t know how to do
this way. Does anyone know which classes and methods I have to use to have
my error saved in a file...
TIA
Fran Mart�nez
=========================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com