• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to set a WAP server on Win2K with tomcat

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, all:
I wanna set a wap server on win2K with apache tomcat. Anybody has experience about it or give me some advice?
Relative resouces are also helpful!

Thanks.
[ December 14, 2003: Message edited by: Roger Zhao ]
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WAP sites are served just like regular HTML-based web sites are (both are accessed over HTTP). Thus, the plain Apache web server is all you need.
 
Roger Zhao
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it! Thanks lasse!
Step 1)Add the following text lines to "mime.types" file in folder "conf" of Apache install folder.
application/java-archive jar
text/vnd.sun.j2me.app-descriptor jad
Step 2) Restart Apache server.
Step 3) Modify "MIDlet-Jar-URL:" field of ur jad file to:
"<A href="http://***/">http://***/</A>Myjar.jar",
*** is ur domain address or ur ip address.
Step 4) OK, u can input the address in mobile phone. Then download ur program for a try~!
[ December 16, 2003: Message edited by: Roger Zhao ]
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What you specified above isn't setting up a WAP server, but rather setting up Apache to be a source for .jad files and .jar files for a Midlet application. As far as I know, that's different than a WAP server.
Dan
 
reply
    Bookmark Topic Watch Topic
  • New Topic