You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raf Colson <ra...@alcatel.be> on 2000/09/18 10:40:16 UTC
serving wml-pages, content-type error
Hello,
I tried to serve a wml-page with tomcat 3.2 beta 2. I added the
following mime-types to my web.xml file :
<mime-mapping>
<extension>
wml
</extension>
<mime-type>
text/vnd.wap.wml
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
wmls
</extension>
<mime-type>
text/vnd.wap.wmlscript
</mime-type>
</mime-mapping>
I used the wap-gsm-emulator from phone.com to get it from tomcat, but I
always receive an error telling me that the content-type of the received
file is text/plain instead of text/vnd.wap.wml. I also tried to add the
mime-types to my server.xml file, but that didn't work either. Does
anyone have experience with this,
thx
Raf