Re: how to capture stdout ?

2000-10-09 Thread Miles Daffin
Until someone tells you the proper waytry this in a Servlet or JSP: File outFile = new File("./System.out.txt"); FileOutputStream fOut = new FileOutputStream(outFile); PrintStream sysOut = new PrintStream(fOut); // File errFile = new File("./System.err.txt"); FileOutputStream

RE: how to capture stdout ?

2000-10-08 Thread Mike Cannon-Brookes
Sure, Just start with java -jar orion.jar -out stdout.log -err stderr.log Mike PS There are other options you might not be aware of, but these are the most useful IMHO - try java -jar orion.jar -? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of TH