You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vijay Suryawanshi <vi...@veritas.com> on 2001/03/03 09:11:06 UTC

How to use text/vnd.wap.wml MIME Type ?

Hi,

How to use text/vnd.wap.wml MIME Type to serve WML pages from Tomkat ? It's not working after putting mime type mappings in web.xml. This is similar problem that Raf Colson had faced. 

Raf, did u get any workaroud ? If you could help me in this regard, that would be appriciated.

Thanks and Regards,

Vijay
----------------------------------------------------------------------------
Vijay Suryawanshi
Veritas Software, India.
91-020-5530203 x 441
----------------------------------------------------------------------------

Re: How to use text/vnd.wap.wml MIME Type ?

Posted by Bo Xu <bo...@cybershop.ca>.
Vijay Suryawanshi wrote:

> How to use text/vnd.wap.wml MIME Type to serve WML pages from Tomkat ?
> It's not working after putting mime type mappings in web.xml. This is
> similar problem that Raf Colson had faced.
>
> Raf, did u get any workaroud ? If you could help me in this regard,
> that would be appriciated.Thanks and Regards, Vijay
> [...]

Hi :-)   if you use jakarta-tomcat-4.0-b1, did you ever try to add
the following into TOMCAT_HOME/conf/web.xml?

  <mime-mapping>
    <extension>wml</extension>
    <mime-type>text/vnd.wap.wml</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>wbmp</extension>
    <mime-type>image/vnd.wap.wbmp</mime-type>
  </mime-mapping>
  ...


Bo
Mar.03, 2001