ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Life >

IIS supports WAP and ASP methods to generate WML

Saturday on March 14th, 2009Life

if you want your IIS to support wml, make a wap website with just a few changes.

first open IIS, and then add the registration file type in the default website properties & ndash; HTTP header & ndash;MMIE Mapping & ndash; File Type & ndash;:

Associated Extension MIME Type

wml text/vnd.wap.wml

wmlc application/vnd.wap.wmlc

wbmp image/vnd.wap.wbmp

wmlsc application/vnd.wap.wmlscriptc

wmls text/vnd.wap.wmlscript

wsc application/vnd.wap/wmlscriptc

now you can add wml files to your site. You can browse it with a mobile phone simulator or an opera browser. If your host is released to the public, you can use your mobile phone to browse your website.

if you are using ASP to generate wml, you must include this sentence:

& lt;% Response.ContentType=“text/vnd.wap.wml”% & gt;

for example, this example: test.asp

& lt;%@ Language=VBScript% & gt;

& lt;% Response.ContentType=“text/vnd.wap.wml”% & gt;

& lt;?xml version=“1.0”?>

& lt ! DOCTYPE wml PUBLIC & ldquo;-//WAPFORUM//DTD WML 1.1 lt;/p>; http://www.wapforum.org/DTD/wml_1.1.xml”>

& lt;p>

Just A test on my wap site!

& lt;/p>

& lt;/card>

& lt/wml>

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/life/IIS-supports-WAP-and-ASP-methods-to-generate-WML.htm