Now I'm trying to convert pageCompilation pages to jsp1.0.
Each pageCompilation pages extend a base page class that is a subclass of
HttpServlet class.
ServletOutputStream of a response object is using in the base page class and
other misc classes that are
called from pageCompilation pages.

The problem is that jsp1.0 uses jspWriter class which is a subclass of
java.io.Writer to write back to a client instead of
OutputStream. So when I tried to use the above base servlet as a java bean in
jsp I got an exception such as IllegalStateException.
Because I open the ServletOutputStream of a response object in the java bean and
jspWriter is using in _jspService() method.

Is there anyone who had the same problem? How did you solve it?
Is there any way that I can use ServletOutStream to write back to a client in
_jspService()?
Otherwise I have to chage a lot of java files that are using ServletOutputStream
to PrintWriter class......

Thanks,

jj

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to