I have a jsp that writes documents out to the browser , using a HREF
something like readfile.jsp?FileID=101
Although readfile.jsp works, it consistently logs the following error.
Could someone tell me why ? Thanks.
- Root Cause -
java.lang.IllegalStateException: getOutputStream() has
java.lang.IllegalStateException: getOutputStream() has
already been called for this response
at
org.apache.catalina.connector.ResponseBase.getWriter(ResponseBase.java:750)
at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:165)
at
org.apache.jasper.runtime.JspWriterImpl.initOut
.
JspSmartUpload as upload-download package
The very headhache is that i wrote a jsp looking for a document in a
table and downloading it. The jsp works fine untill 30/12/2001 then it
started returning the following dump
A Servlet Exception Has Occurred
java.lang.IllegalStateException