Hi,

Is it possible to serve WML content instead of HTML
content using JSP pages? I'm using Tomcat 3.1

I imagine I could do it using something like:

<% if (device == pc) {
%>
<%@ include foo.html %>
<% } else if (device == mobile) {
%>
<%@ include foo.wml %>
%>

Has anyone tried something like this?

Do you think it is feasible?

Thanks,

Chris Newland

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to