Hi Michael,
This is, because your servlet calls getPrintWriter(); there is a bug in
JServSSI which prevents this from working.
The current CVS Snapshot of JServSSI has this bug fixed. Please get
it from <http://www.working-dogs.com/daily/>
It is the file Apache-JServ-SSI-jservssi_1_0-patches-19990225.tar.gz
Please let me know if it works for you, then.
Regards,
-hen
On Thu, 25 Feb 1999, Michael Kennedy wrote:
MK |I'm having a hard time getting JservSSI Servlets working, everything else is
MK |working perfectly, all servlets are working in the fashion they are
MK |supposed to, except when they are invoked via JServSSI <SERVLET> tags. I
MK |get the following error:
MK |
MK |<!-- java.lang.IllegalStateException: Already called getOutputStream.
MK | at java.lang.Throwable.<init>(Compiled Code)
MK | at java.lang.Exception.<init>(Compiled Code)
MK | at java.lang.RuntimeException.<init>(Compiled Code)
MK | at java.lang.IllegalStateException.<init>(Compiled Code)
MK | at org.apache.jserv.JServConnection.getWriter(Compiled Code)
MK | at SimpleServlet.doGet(Compiled Code)
MK | at javax.servlet.http.HttpServlet.service(Compiled Code)
MK | at javax.servlet.http.HttpServlet.service(Compiled Code)
MK | at org.apache.jservssi.ServletInfoRequest.runServlet(Compiled Code)
MK | at org.apache.jservssi.JServSSI.interpretPage(Compiled Code)
MK | at org.apache.jservssi.JServSSI.doGet(Compiled Code)
MK | at javax.servlet.http.HttpServlet.service(Compiled Code)
MK | at javax.servlet.http.HttpServlet.service(Compiled Code)
MK | at org.apache.jserv.JServConnection.run(Compiled Code)
MK | at java.lang.Thread.run(Compiled Code)
MK |-->
MK |
MK |Any ideas on how to avert this? I've searched every resource I could find
MK |and didn't see any references anywhere to this problem. The servlet
MK |'SimpleServlet'
MK |works fine on it's own, it only produces the error when called with
MK |JservSSI.
MK |
MK |MK
MK |
MK |
MK |------------------------------------------------------------
MK |To subscribe: [EMAIL PROTECTED]
MK |To unsubscribe: [EMAIL PROTECTED]
MK |Problems?: [EMAIL PROTECTED]
MK |
-hen
---
Henner Zeller [EMAIL PROTECTED]
PGP pub key [77F75B39]: finger [EMAIL PROTECTED]
"One difference between SuSE and Red Hat is that the former operates in a
country where people don't sue each other over coffee being too hot."
Linus Torvalds
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]