You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Power-Netz (Schwarz)" <sc...@power-netz.de> on 2002/08/08 13:07:08 UTC

image responses via JSP : jasper produces empty lines in sourcecode!!!

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>