Hi Panos I don't know if Tomcat 4.01 can act as a WAP gateway...
Assuming that it can't then, as with earlier Tomcat versions, you need a WAP gateway as well. When you send your WML out, the gateway encodes it into WBXML, which is a binary encoded XML. The gateway receives WAP requests and passes them on to your Tomcat. You can process them there with JSP pages just as you would process any other XML. One problem is if you need to be able to distinguish between incoming requests from WAP devices and HTML browsers. At the moment you have to check the user agent header, and every WAP device will give you a different header. It may be easier to detect IE and Netscape and assume everything else is WAP. But beware, WAP devices vary considerably in what they can do and how they treat WML. Wrox do a good WAP book... Nokia (http://www.forum.nokia.com/main.html) sell a gateway, and I believe there are open source gateways. There must be a WAP mailing list somewhere... regards Mark Lines-Davies -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Panayiotis Periorellis Sent: 26 February 2002 15:12 To: [EMAIL PROTECTED] Subject: WAP /TOMCAT 4.01 I was just wondering whether tomcat 4.01 can be used to accept and process wap requests.. I don't think this is something we have discussed so if anybody has implemented WAP pages can you please let me know: A) where in tomcat do we place the wml B) where do we place wmls C) do we need any further patches to implement a WAP server... Regards Panos ========================= To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com ************************************************************************* The information contained in this message or any of its attachments may be privileged and confidential and intended for the exclusive use of the addressee. If you are not the addressee any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited ************************************************************************* =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
