cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariswara...@satyam-infoway.com
Subject Re: problem with displaying images in WAP browser using cocoon
Date Fri, 01 Sep 2000 05:27:34 GMT


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



Mime
View raw message