tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: image responses via JSP : jasper produces empty lines in sourcecode!!!
Date Thu, 08 Aug 2002 11:23:29 GMT
Every linefeed (as any other character that you use) outside the 
scriptlets and tags in the sourcefile will be reproduced by the 
code generator.

So instead of 
<jsp:tagname .../>
<%! ... %>
<% ... %>

You have to use

<jsp:tagname ...
/><%! ...
%><% ...
%>

Ugly but it works.

> -----Urspr√ľngliche Nachricht-----
> Von: Power-Netz (Schwarz) [mailto:schwarz@power-netz.de]
> Gesendet: Donnerstag, 8. August 2002 13:07
> An: tomcat liste
> Betreff: image responses via JSP : jasper produces empty lines in
> sourcecode!!!
> 
> This is a part of the class jasper produces. You see the
> "jspwriter.write("\r\n");" .
> These are created by Jasper. CAUSE: UNKOWN!
> Every line in my jsp which has <%@ %> or <jsp:tag  /> is 
> replaced with one of these writes.

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message