You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ma...@satyam-infoway.com on 2000/09/01 07:27:34 UTC
Re: problem with displaying images in WAP browser using cocoon
Hi,
You have to set the MIME types in web.xml .
<mime-mapping>
<extension>
wbmp
</extension>
<mime-type>
image/vnd.wap.wbmp
</mime-type>
</mime-mapping>
<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>
which is in root/web-inf directory
BYe
maris