aspose file tools*
The moose likes JSP and the fly likes Tomcat: Servlet.service(): unbelievable getOutputStreamException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Tomcat: Servlet.service(): unbelievable getOutputStreamException" Watch "Tomcat: Servlet.service(): unbelievable getOutputStreamException" New topic
Author

Tomcat: Servlet.service(): unbelievable getOutputStreamException

Shishir Sanghvi
Greenhorn

Joined: Feb 25, 2003
Posts: 7
Hi, i have a security check on all my jsp files like this:
(i can't use REALM or any component)

It worked fine during one day but now i have this error
----- Root Cause -----"getOutputStream()" has already been called for this response. at org.apache.coyote.tomcat4.CoyoteResponse.getWriter(CoyoteResponse.java:614). "Servlet.service()" for the servlet jsp has generated an exception
And now nobody can log-on!!!
I don't understand what did i wrong???
My God:now, even if i put my old jsp files, it is not workin' any more. Always the same message. What is wrong with the Tomcat Servlet???
Thanks alot for any suggestion
[ March 15, 2003: Message edited by: Shishir Sanghvi ]
[ March 15, 2003: Message edited by: Shishir Sanghvi ]
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Hi,
I think there is problem in else part
by any chance r u using<jsp:include > for some header or menu
if this is the case then try commenting jsp:include and c if it works
regards
Praful


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat: Servlet.service(): unbelievable getOutputStreamException