Viewing WML using NMBS
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?
Last edited by g.p.duncan; 2003-11-10 at 19:17.
Have you set the correct mime types?
Pete / Forum Nokia Developer Support
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.