Hi
I am facing problems in using the SimpleStream example given in the
servlets section for securely getting images on our webpages. i am using the following code in
jsp file in order to call the SimpleStream servlet
it gives me the following error when i run the jsp page
java.lang.IllegalStateException: getOutputStream() has already been called for this response
org.apache.catalina.connector.Response.getWriter(Response.java:607)
now i understand that the problem is with the response object that i send from the jsp file which has already called an outputstream. can anyone tell me how i can overcome the problem and get the image on my page.another thing is it possible to place the image using the image tag when i get it using the SimpleStream servlet???