----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

This also makes the problem go away:

> From JServConnection.java...

                if (servlet_writer != null) { 
                    servlet_writer.close();
                }
                out.close;

change to:
                if (servlet_writer != null) { 
                    servlet_writer.close();
                } else
                    servlet_out.close();
  
Why is this loop needed in the JServOutputStream close function?

        public void close() throws IOException {
            int l;
            do {
                l = in.available();
                in.skip(l);
            } while (l > 0);
            
            sendHttpHeaders();
            out.close();

The page that is giving me trouble has data available on it.

Jon Smirl
[EMAIL PROTECTED]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to