At the top of your page use <%@ page contentType="text/vnd.wap.wml"%>
Pete -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Panayiotis Periorellis Sent: 18 March 2002 14:30 To: [EMAIL PROTECTED] Subject: Re: WAP-JSP So What is the least painful way to pass a WAP request to JSP? panos -----Original Message----- From: Maurice Munoz [mailto:[EMAIL PROTECTED]] Sent: 18 March 2002 14:20 To: [EMAIL PROTECTED] Subject: Re: WAP-JSP You can not point to a jsp file unless the browser on the cell phone supports it but you can point to a jsp file but you need to change the mime type on that file to support wap[wml etc] ----- Original Message ----- From: "Panayiotis Periorellis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 18, 2002 9:18 AM Subject: WAP-JSP Hello ALL, This is for people would have dealt with WAP before.. I have a WAP interface and I was wondering whether I could have a hyperlink pointing to a JSP file... For example I tried the following..but <card id="card1" title="test" newcontext="true"> <p align="center"><b> <a href="tel.wml">Telephone </a> </b> </p> <p align="center"> <b> <a href="http://ouston.ncl.ac.uk:8080/wap.jsp"> SoS TA </a> </b> </p> </card> But it retured 413 error which means file too large...the wap.jsp is only returing a number.I understand that there is something else that needs to be done ... Anybody any ideas? Thanks in advance 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 ======================================================================== === 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 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 =========================================================================== 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