DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11859>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11859

JSP generation of binary files not possible

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2002-08-20 14:56 -------
Sorry, but it is a bug in Tomcat 3.2 and 3.3 that writing binary data is
possible.  I'm not sure about the various versions of Tomcat4.

The JSP spec requires that the JspWriter be associated with a PrintWriter in
the ServletResponse, thus precluding use of an OutputStream to output binary.
It is a bug in Tomcat3 that this isn't enforced.  To output binary, your JSP
may need to forward to a servlet to perform the output.

The JSP spec also requires that all template text be output verbatim.  Thus,
there is a '\n' of template text between the following two scriptlets if
formatted as follows:

<% script1 %>
<% script2 %>

I assume something like this is the cause for the '\n' characters.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to