IIS supports the configuration of WML generated by WAP and ASP.

Source: Internet
Author: User

First open IIS, and then add the registration file type in the default website property-HTTP header-mmie ing-file type: CopyCode The Code is as follows: 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 on your site. You can use a mobile phone simulator or Opera Browser to browse. If your host is released, you can use your mobile phone to browse your website.
If you use ASP to generate WML, you must include the following sentence:Copy codeThe Code is as follows: <% response. contenttype = "text/vnd. WAP. WML" %>

example: test. ASP copy Code the code is as follows: <% @ Language = VBScript %>
<% response. contenttype = "text/vnd. WAP. WML "%>

"http://www.wapforum.org/dtd/wml_1.1.xml">



just a test on my WAP site!



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.