tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Power-Netz \(Schwarz\)" <schw...@power-netz.de>
Subject image responses via JSP : jasper produces empty lines in sourcecode!!!
Date Thu, 08 Aug 2002 11:07:08 GMT

Hi,
tc 3.3.2dev

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. out.write("<TD>") is translated to jspwriter.write("<TD>") , so it's
outputed
to the client. With HTML it's no problem, BUT I tried to output a TIFF
Image, setup all
needed headers and get these blank lines from tc.

Does anyone have a clue to solve this? response.reset() does not work. It
kills some
important informations in the response :-(

-------------------------------------------------------- decoded class
file...
	...
            javax.servlet.ServletContext servletcontext =
pagecontext.getServletContext();
            javax.servlet.ServletConfig servletconfig =
pagecontext.getServletConfig();
            HttpSession httpsession = pagecontext.getSession();
            jspwriter = pagecontext.getOut();
            jspwriter.write("\r\n");
            jspwriter.write("\r\n");
            jspwriter.write("\r\n");
            jspwriter.write("\r\n");
            jspwriter.write("\r\n");
            jspwriter.write("\r\n");
            BigBrother bigbrother = null;
            boolean flag = false;
            synchronized(servletcontext)
            {
                bigbrother =
(BigBrother)pagecontext.getAttribute("bigbrother", 4);
     ...	<jsp:usebean ..... === ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ />
----------------------------------------------------------


Ihr Support-Team

>>> POWER-NETZĀ®
            Full-Service-Provider <<<

Online-Support:
Support: 0190 - 15 11 15 (EUR 0,62/Min)
http://Support.Power-Netz.de (kostenlos)
http://Support.Power-Netz.com (kostenlos)

Vertrieb Tel:  01805 - 57 35 57 (EUR 0,12/Min.)
Vertrieb Fax: 01805 - 57 45 57 (EUR 0,12/Min.)

Power-Netz
Am Plan 1
37581 Bad Gandersheim

http://www.Power-Netz.de
mailto:info@Power-Netz.de


+=========================================+
<----------I N F O   C E N T E R---------->
+ Senden Sie eine leere e-mail an:
+ Providerwechsel: mailto:Wechsel@Power-Netz.de
+ Daten/Preise Webspace: mailto:Webspace@Power-Netz.de
+ Reseller-Programm: mailto:Reseller@Power-Netz.de
+ Dedizierte Server: mailto:Server@Power-Netz.de
+ Adult/Erotikserver: mailto:Adult@Power-Netz.de
+ Domainpreise: mailto:Domain@Power-Netz.de
+ Domain-Nameserver: mailto:DNS@Power-Netz.de
+ SSL-Zertifikate: mailto:SSL@Power-Netz.de
+ Geschaeftsbedingungen: mailto:AGB@Power-Netz.de
+ =========================================+


--
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