tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miller, Steve" <Steve.Mil...@atmosenergy.com>
Subject RE: big image only appear at half
Date Wed, 06 Dec 2006 22:18:48 GMT
Is this image embedded in the jsp page? Are you calling it directly as
the image only? Do you have a code snippet? Knowing that would help us
help you :-) 

If you have it in a JSP page, one thing you might try within the JSP
code at the top is:

<%@ page autoFlush="true" %>
<%@ page buffer="256kb" %>

If by chance you are using OutputStream or any of it's subclasses, check
to see if you are calling a flush() method. Check the API at
http://java.sun.com/j2se/1.5.0/docs/api/java/io/OutputStream.html

Steve

 

-----Original Message-----
From: mast [mailto:master@tyranz.com] 
Sent: Wednesday, December 06, 2006 3:55 PM
To: Tomcat Users List
Subject: Re: big image only appear at half

i would like to add that s the same connector on the tomcat 5.5.9 and
5.5.20 because both tomcat are on the same machine (they are configure
the same way in the workers.properties) really strange problem
----- Original Message -----
From: "mast" <master@tyranz.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, December 06, 2006 10:51 PM
Subject: Re: big image only appear at half


>
>>> nobody have had problem with big image on tomcat ? (it do that on a 
>>> brand new tomcat with common configuration that s why i am surprised

>>> nobody has encounter this)
>>
>> I just installed a fresh 5.5.20, dropped a 643K jpeg in the ROOT 
>> directory, and it loads fine, displays fully.
>>
>> (using JDK 1.5.0_06 on SuSE 10, viewed in FireFox 1.5.0.8, FWIW)
>>
>>> > Hi, i am having a problem with tomcat 5.5.20 (problem not present 
>>> > on
>>> > 5.5.9) , when i put an image bigger than approximatively 130K it 
>>> > only appear at half on the screen (it s cut in the middle)
>>
>> Perhaps a browser problem? What happens if you use wget or similar to

>> fetch the image?
>
>
> don't think it s a brower problem because if i umount the image to 
> make apache run it , it work without any problem if tomcat is not the 
> problem maybe the problem is between tomcat and mod_jk i use apache 
> 2.2.3 mod_jk last version and jdk 1.5.0
>
> if i use wget it download the image fully , the problem only seem to 
> be in displaying ( i have try different navigator always the same 
> resultat )
>
> i have try different test and if i use the port 8080 the image display

> without problem, so i am nearly sure there is a problem in the link 
> between apache (mod_jk) and tomcat, but which parameter could affect 
> this ?
> Regards
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
> e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message