Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Category) (Category) Java Apache Project : (Category) Apache JServSSI :
Calling getWriter causes an IllegalStateException
Using the SSI stuff, our output is not showing up and here is the error when we view source:
<!-- java.lang.IllegalStateException: Already called getOutputStream.
        at org.apache.jserv.JServConnection.getWriter(JServConnection.java:1432)
        at Hello.doGet(Hello.java:31)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jservssi.ServletInfoRequest.runServlet(JServSSI.java:917)
        at org.apache.jservssi.JServSSI.interpretPage(JServSSI.java:366)
        at org.apache.jservssi.JServSSI.doGet(JServSSI.java:302)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.run(JServConnection.java:359)
        at java.lang.Thread.run(Thread.java)
-->
I have no idea, help!
jbrekkeATqgraphDOTcom
Subcategories:

Answers in this category:
(Answer) Use getOutputStream instead
(Answer) More Info on Jason Hunters Java Servlet Programming
(Answer) Either getOutputStream or getWriter may be called
(Answer) Bug fixed in Apache JSSI 1.1

[Add a New Answer in "Calling getWriter causes an IllegalStateException"]
Previous: (Category) Configuration questions...
Next: (Answer) New Item
This document is: http://java.apache.org/faq/?file=78
[Search] [Appearance] [Show This Entire Category] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.