This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 614
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
 
Similar Threads
Security roles in web.xml
Realm Tomcat: j_security_check can't understand my web.xml"form-login-page"
JSP files Deployment problem in sun java system web server
Realm JDBC anormal behavior (newbie)
JspSmartUpload + getoutputStream()error