• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to set a WAP server on Win2K with tomcat

 
Roger Zhao
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • 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 ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Daniel Moore
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic