Why do't you write back right to res.getWriter(); It should do most of the
time.
Steve
-----Original Message-----
From: PAUL J THOMPSON <[EMAIL PROTECTED]>
To: Java Apache Users List <[EMAIL PROTECTED]>
Date: Saturday, May 29, 1999 12:16 AM
Subject: Howto? Jserv and servlet error messages.
>Question: I have been having trouble debugging my servlets because of
>the lack of any stdout or stderr. Is there some way that you can write
>error messages to the jserv log file? Something like:
>
> out.println("The program experienced a major fubar here!");
>
>So that it would be a little easier to keep track of what is going on.
>Otherwise, debugging can be quite the pain in the rear.
>
>Thanks,
>Paul J Thompson
>
>
>-- --------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>READ THE FAQ!!!! <http://java.apache.org/faq/>
>Archives and Other: <http://java.apache.org/main/mail.html/>
>Problems?: [EMAIL PROTECTED]
>
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]