Hi All, Genarally System.out.print prints to the standard output device and System.err.print prints to standard error device. Most time, the two devices are same, namely, the console.
My question is can we redirect them to a file? Actually I want to store all the System.out.println or System.err.println into a log file for later use, Can we redirect the content of stadard output or error device to a file? -Ranjan ==========================================================================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
