maybe WAP browsers aren't configured to handle that extension?
-Original Message-
From: Zilberstein Yuval [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 11:13 AM
To: Tomcat Users List
Subject: Image problem on tomcat
Hello all,
I have an image problem on the Tomcat server.
I hav
Yuval--
from the Wireless Bitmap (WBMP) documentation
"If "image/gif", "image/jpg" and "image/png" are found in the accept HTTP
header, it means the WML browser can display the GIF, JPG and PNG image
formats.
so you'll need to convert from *ProprietaryFormat* to GIF 87a, GIF 89a
(animated GIF)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuval,
Zilberstein Yuval wrote:
> 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.
Does this image render properly on a "normal" web browser (like
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
Jo
telephone or email and destroy the original
message without making a copy. Thank you.
- Original Message -
From: "kz" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, April 26, 2007 6:46 AM
Subject: Re: Image problem
Actually, I have different iframes
Actually, I have different iframes on my page and the images are used in
pages loaded in those iframes. The problem is that the images shown in the
first iframe are not shown properly (i have divs which are sized on the
basis of the width of image width, those are all wrong the first time
and the
Khurram,
kz wrote:
> I am having this problem that images are not shown in the page
> properly when we load the page for the first time.
Are you using Apache httpd in front of Tomcat? This often happens before
Tomcat has decided that your browser can support cookies and so all your
URLs have the
Mm I had something similar once... maybe same problem.
Are you reading parameters, that then say describe the path to the image?
If so, then what could be happening is you are going straight to the JSP
page and the servlet has not initialised yet, it hasnt read the params yet!
ie Direct
Details would help here. Are you saying the images show on the second
page load? Also what version of tomcat, some info on you setup, some
example code showing the tag in the pages, etc. , ...
--David
kz wrote:
Hi,
I am having this problem that images are not shown in the page
properly