Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build a WML web server?

 
Jack Liang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

New to mobile phone. Anyway, I got a new Nokia phone. It is web enabled. I copied a WML page into my HTTP web site (Tomcat 5.0): http://64.207.45.95/test.wml
Then I use my phone and goto this address. The WML page cannot be displayed.
My question will be: How to make my Tomcat server serve WML pages?

Any link or help are greatly appreciated!

Jack
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to map the text/vnd.wap.wml mime type to the *.wml files. You can do that in your server.xml file
 
Jack Liang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, it worked after add the mime type: wml.

Thank you Dr. Yuan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic