tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olsen Odd <Odd.Ol...@volvo.com>
Subject WAP
Date Mon, 07 May 2001 06:10:20 GMT
Hi

When I try to run WML on Tomcat 3.2, I get 
  MIME type "text/plain" is not supported

I have put the mime types for WML in /conf/web.xml
as you can see below and is using Nokia WAP Toolkit.

It all worked great when I use Tomcat 3.1 and I can't see
why it shouldn't work on 3.2. What more I can do?

/Odd

<!-- Start WAP extensions -->    
    <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>
    <mime-mapping>
        <extension>
            wmlc
        </extension>
        <mime-type>
            application/vnd.wap.wmlc
        </mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>
            wmls
        </extension>
        <mime-type>
            text/vnd.wap.wmlscript
        </mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>
            wmlsc
        </extension>
        <mime-type>
            application/vnd.wap.wmlscriptc
        </mime-type>
    </mime-mapping>
<!-- End WAP extensions -->  
_________________________________________________
Odd Olsen
Volvo IT
Dept 2540, DA2N
SE-40508 Goteborg, Sweden

Telephone: +46 31 7655718
E-mail: Odd.Olsen@volvo.com



Mime
View raw message