Image « Exception « Java Database Q&A





3. Image Retrevial From Database throws error    forums.oracle.com

Can anyone point out what i'm doing wrong with the code below please.. It all works perfectly and returns the image. The probelm is that it causes java.lang.IllegalStateException: getOutputStream() has already been called for this response to be thrown in the site's logfile. It all works perfectly by causes the log file to fill up as visitors access the image. <%@ ...