• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to build a WML web server?

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, it worked after add the mime type: wml.

Thank you Dr. Yuan.
 
reply
    Bookmark Topic Watch Topic
  • New Topic