tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur Veinstein" <Art...@telemessage.com>
Subject Re: WAP
Date Mon, 07 May 2001 07:49:14 GMT
Hi,
there is a bug in tc 3.2,
you have to put the mime types in the web.xml under your application

yourApplication/web-inf/web.eml

Arthur
----- Original Message ----- 
From: "Olsen Odd" <Odd.Olsen@volvo.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Monday, May 07, 2001 8:10 AM
Subject: WAP


> 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