Radhakrishnan J wrote:

        PS: This JSP is deployed as part of a struts application, and for
certain reasons, I'd like to use an action-JSP combination to stream the
image instead of simple serlvet.
It would be much better to use pure servlet instead of JSP (which turns into servlet anyway).

        <%@ page session="false" contentType="image/png"
        
import="java.io.IOException,java.io.OutputStream,com.csg.chart.Chart,
java.util.HashMap"
        %>

        <%
%>
<%

This combination gives you new line character.


--
Mikolaj Rydzewski  <[EMAIL PROTECTED]>
Becomo S.A.
tel. (12) 2927104


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to