Hi,
I'm not sure that you quite understand how WAP works, but as servlets are
server based (hence the name), they do not have to do anything in paricular
to serve WAP / WML content. All that is required is that the response type
is set to be wml :
response.setContentType("text/vnd.wap.wml"); (as opposed to
text/html).
The servlet / JSP must then generate text according to the WML syntax spec .
. .
I'm currently using Allaire's JRUN and have it plugged into IIS 4.0 to serve
the WML content. (although JRUN will actually serve content on it's own)
Regards,
Joel
> -----Original Message-----
> From: Zhubin Salehi [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, October 31, 1999 9:48 PM
> To: [EMAIL PROTECTED]
> Subject: WAPServlet?
>
> Dear colleagues,
>
> I don't know if any of you have any information about integrating Java
> Servlets
> and JSP with Wireless Access Protocol (WAP). I have a few questions:
>
> 1. Does anybody know about a free implementation of a WAP Servlet API?
>
> 2. I might have to write my own WAP Servlet API, I have to subclass
> GenericServlet and a few other class to write WAPServlet, WAPRequest,
> WAPResponse, etc. classes. Do I also have to write a Servlet engine or I
> can
> use my WAPServlets with existing engines, such as JSWDK, JRun or
> ServletExec?
>
> 3. If I have to write my own Servlet engine, are there some examples on
> the
> Internet?
>
> 4. How can I implement a protocol other than HTTP in Servlet API? I mean
> the
> WAPServlet, WAPRequest, etc.
>
> Thanks,
> Zhubin Salehi
>
>
>
>
> =====
> Are you a lonely Iranian looking for your soulmate?
> Check out "From Persia with Love" club at:
> http://clubs.yahoo.com/clubs/frompersiawithlove
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html