You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dmitry Rogatkin <DM...@VISTO.COM> on 2001/05/02 00:00:18 UTC

RE: Displaying images in wml

Maybe you also know why using Nokia WAP device simulator I can see images when directly access Tomcat server, but when use WAP gateway, I always see images as icons - "image not available".

Dmitry R., dmitryr@visto.com
Chief Architect, MetricStream.COM
Santa Clara, CA






-----Original Message-----
From:    Nael Mohammad nmohammad@neomar.com
Sent:    Tue, 1 May 2001 14:53:40 -0700
To:      tomcat-user@jakarta.apache.org
Subject: RE: Displaying images in wml


Add the following MIME types:


  wbmp=image/vnd.wap.wbmp
  wml=text/vnd.wap.wml
  wmlc=application/vnd.wap.wmlc
  wmls=text/vnd.wap.wmlscript
  wmlsc=application/vnd.wap.wmlscriptc

-----Original Message-----
From: Kanwar Dhaliwal [mailto:kanwar.dhaliwal@openwave.com]
Sent: Tuesday, May 01, 2001 2:52 PM
To: tomcat-user@jakarta.apache.org
Subject: Displaying images in wml 


Hi,

I have a servlet which outputs a wml page and all is working fine except
that I cannot output a bmp or a wbmp image.  My question is where should I
place the image and how to reference it.  I have tried placing it along with
the class files and int he /webapps/ROOT directory but nothing seems to
work.  Tomcat has been configured with the appripriate MIME types by the
way.

Any help will be greatly appreciated.



--Kanwar





___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.