Serving WAP Pages?
kfs27 asks: "One of my professor with some of his Java students would like to get into handheld devices and WAP interfaces. They want to first start with building pages which can be viewed on a WAP enabled device. How does one go about serving these pages. Is there a specific WAP webserver or are there modules to Apache? What are the choices and any other suggestions you may have regarding WAP programming."
Cocoon is a project from the Apache Software Foundation (xml.apache.org), which, amongst many other things, let you create WML pages.
If you have a recent version of Apache, you might already have these in your mime.types file. If you intend to serve any static content, you'll need at least these mappings:
application/vnd.wap.wmlc wmlc
application/vnd.wap.wmlscriptc wmlsc
image/vnd.wap.wbmp wbmp
text/vnd.wap.wml wml
text/vnd.wap.wmlscript wmls
WAP sites are generally regular HTTP servers. The end-user's device contacts a gateway which then makes an HTTP request, compiles the data if it hasn't been already, and sends the compacted version on to the device.
So it is actually possible to serve static WAP content using nothing more than the base Apache distribution and some added MIME types.
http://developer.openwave.com
the phones get their wml pages off of any normal http server via a proxy (wap gateway).
"i was saying gnu-rd"
The Spring 2001 issue of the Perl Journal had an article about developing wireless applications-/
http://www.samag.com/documents/s=1131/sam05040004
which outlines useful perl modules, how to configure apache to play well with wml, and sample code for wireless appilcations.
-f
www.blackant.net
Check it out on PHPBuilder.com
p hp 3
http://www.phpbuilder.com/columns/mike20010118.
I can't say that I disagree -- ASCII rules. But in case you actually meant to point out a few tags that we could use, try typing < for <, and > for >.
-30-