tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Brogden <>
Subject Re: HELP: Use of OutputStream from JSP causes IllegalStateException
Date Fri, 28 Apr 2000 02:35:18 GMT

Steven Punte wrote:
> In order to output a binary image from a JSP file,
> I'm using method calls on the ServletOutputStream
> object obtained from response.getOutputStream().
>   .....

I can't imagine the circumstances in which you would want
a JSP to serve a binary file. Any <img tag in the page
is going to create a separate request anyway, why not 
directly address a servlet?

WBB -  Chief Scientist, LANWrights, Inc.
Java Programmer Certification information and mock exam

View raw message