Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat: Servlet.service(): unbelievable getOutputStreamException

 
Shishir Sanghvi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic