×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    Does Tomcat Server support WML embedded is JSP?

    Hi,

    I tried several times but it always return me: Internal Error in Nokia Mobile Toolkit screen, while it works well if I try to display a WML file.

    Do you know what's the problem? Do I have to change to use another server?

    Thanks!

    Jing

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    38

    RE: Does Tomcat Server support WML embedded is JSP?

    Hi,

    Have you tried to set the page content type in your JSP to vnd.wap.wml? In your JSP, you can do it as follows:

    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

    <%@ page contentType="text/vnd.wap.wml;charset=ISO-8859-1" %>

    <Rest of the WML/JSP here>...

    Hope this helps you out.

    Best Regards,

    Samuli / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×