1:
We have made an wml-file which says the following:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="(c) ITE Mobile 2002">
<p align="center"><img src="logo.wbmp" alt="ITE Logo"/></p>
<p align="center"><a href="test003.jad">BDF for Nokia 3410</a></p>
</card>
</wml>
I can reach it from the 3410 - but when I try to download the .jad-file it says "wrong filetype" - hows that ? - it is something about MIME-type I have been told..
What does it take on the webserver to be able to serve java-files for a Nokia-phone?
2:
I can connect if I write the whole url - e.g. http://www.cs-jay.dk/1.wml - but what do I have to do if I only want to write "wap.cs-jay.dk"
Here comes a brief answers to your questions:
1) Jepp, you need to configure your web server to support JAD (and JAR) files. Follow the tutorial at http://www.iisfaq.com/default.asp?View=A152, but instead of adding those MIME content extensions and types listed in the tutorial, add:
.jad >> text/vnd.sun.j2me.app-descriptor
.jar >> application/java-archive
2) That's another server issue. Tutorial for creating subdomains can be found at http://www.iisanswers.com/articles/dns_for_iis.htm.
You also need to rename 1.wml to index.wml and add index.wml in your web server list of default documents.
Best Regards,
Mika / Forum Nokia Developer Support