tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wingfield <jon.wingfi...@mkodo.com>
Subject Re: Image problem on tomcat
Date Thu, 28 Jun 2007 16:22:22 GMT
Is it a mime-type issue?
The content is probably being vended as application/octet-stream, which 
the mobile device is probably not liking.
You can add additional mime-mappings into your web.xml.
If you are fronting tomcat with apache httpd you can also add 
mime-mappings into the httpd.conf

Jon

Zilberstein Yuval wrote:
> Hello all,
> I have an image problem on the Tomcat server.
> I have a picture with a special Korean format: cwsis. It is just like
> any other jpg or gif image, but with a format that is not popular.
> The image itself is on the tomcat server.
> I am trying to display the image on a special mobile browser, by
> requesting it from a jsp on the tomcat server, But the browser can not
> display it.
> When I am trying to display it from another apache server it works ok.
> The code is as follows:
>
> <jsp:useBean id="entryB" class="com.pele.mmbox.beans.AlbumEntryBean"
> scope="session"/>
> <pre>
> </pre>
> <img src="http://10.171.193.85:8090/mmbox/o549d000212946200.cwsis">
> <a href="testDownload.jsp">down</a>
>
> Any ideas?
> TIA Yuval
>
> TX
> YuvalZ
>
> ---------------------------------------------------------------------
> 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