Put that in your card 

<?xml version="1.0"?> 
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml"> 
<wml> 

You will find a good document on :
http://developer.java.sun.com/developer/technicalArticles/wireless/wap/index
.html

Francois


-----Original Message-----
From: kaiye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 10:51 AM
To: [EMAIL PROTECTED]
Subject: Support WML in Tomcat 



Hi there, 

Is there anyone can help me this puzzle?

I am trying to make tomcat to provide WML output. I add following into
web.xml. 
"
<mime-mapping>
   <extension>
      wml
   </extension>
   <mime-type>
      text/vnd.wap.wml
    </mime-type>
</mime-mapping>

"

But, my nokia toolkit still can not read it. It returns the error message
"plain/text is not supported!". 

Thanks,

Kai

==================================================================
新浪網.免費 50MB 電子信箱  http://www.sinamail.com
鐵道少女百分百,送你到瑞士
http://www.sina.com.tw/redirect/travel_welcome.html

Reply via email to