users@glassfish.java.net

Re: java.lang.IllegalStateException during xslt transformation

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Dec 2007 05:47:59 PST

Hi Gerald,

Are you doing it in a jsp page? Try using a servlet. Jsp handles text based output with JspWriter, and since you already obtained a writer, you cannot get outputstream. Doing so will cause IllegalStateException (see javadoc for ServletOutputStream).

-cheng
[Message sent by forum member 'cf126330' (cf126330)]

http://forums.java.net/jive/thread.jspa?messageID=249344