Hmm....I don't know why you just want to use System.out instead of the
PrintWriter from the HttpResponse.

Anyhow, there is a method in System class called setOut(PrintStream out).
You might do it by calling this method.  I never used it in Servlet but it
should work.

Shane

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Pol
Millan
Sent: Sunday, January 07, 2001 11:28 AM
To: [EMAIL PROTECTED]
Subject: Starndard output


How can I, on a servlet, make the standard output (ie System.out) to be the
output of the servlet so that if I do
System.out.println("hello") this is printed out on the browser.

Thanks,

Pol.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to