Hi everybody,

I would like to make a script which produce binary data, but the script
should include another file like:
<%@ page
    contentType="????/????"
%><%@ include file="i.jsp"%>binary data

If "i.jsp" is an empty file (length 0) it works.
If in "i.jsp" file I put "<%%>" (only one line without CR) then I have
"\r\n" put into  the output stream:

// HTML // begin [file="/test/i.jsp";from=(0,4);to=(1,0)]
out.write("\r\n");

// end

I have tried to use response.reset() and response.resetBuffer() like:
<%@ page
    contentType="????/????"
%><%@ include file="i.jsp"%><%response.resetBuffer();%>binary data

but the methods don't solve the problem !

Any idea ?

Thanks
        Marcin


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to