×

Discussion Board

Results 1 to 3 of 3

Thread: NMIT & Tomcat

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    2

    Viewing WML using NMBS

    Hi,

    I'm trying to use Tomcat to serve up WML files. If I load the local wml file into NMBS (c:\<dir>\myfile.wml) it displays the file correctly rendered.

    However, when I try to view it using the url (http://localhost:8080/<dir>/myfile.wml) it displays the wml source code rather than the rendered wml.

    However, if I view a xHTML file on the server it is rendered correctly by the NMBS.

    Anyone got any ideas?

    Thanks.
    Last edited by g.p.duncan; 2003-11-10 at 19:17.

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    196
    Hello!

    Have you set the correct mime types?


    Kind regards
    Pete / Forum Nokia Developer Support

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    2
    Yes. I've added MIME types for WML, WMLS, WMLC, WMLSC and WBMP to the conf\web.xml file, which is where all the MIME types are declared in Tomact.

Posting Permissions

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