Friends:
I added the following to the web.xml in the conf directory.
 
<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>
    <mime-mapping>
                <extension>
                    wbmp
                </extension>
                <mime-type>
                    image/vnd.wap.wbmp
                </mime-type>
    </mime-mapping>
 
However when I try to server any wml file, emulator complains that the content-type is text/plain.
 
Do I need to do something else.
I tried output with several emulators and still the output is same.
I tried Tomcat 3.2 and Tomcat 3.1 both. But still I get the same thing.
 
Thanks in advance
Gunjan

Reply via email to