>It looks like Apache JServSSI uses the response.getOutputStream method
>to get a stream for sending all the static HTML in the page before calling
>servlets included with SERVLET tags. In your servlet you then try to call
>response.getWriter which causes the IllegalStateException since only one
>of the the methods can be called on the same response object.
>
>Try using response.getOutputStream in your servlet instead and I'm sure it
>works better. You may also like to file a bug report on JServSSI since it
>would make more sense for it to use the getWriter method.

Thanks for the clear, concise explanation and fix. I'll let you know if it
doesn't work.

Regards,
Steve Mann

-------------------------------------------
Creative Digital Publishing Inc.
1317 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.788.0138              805.593.3811 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

___________________________________________________________________________
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