1, the format must be strict, such as the content that must be turned off 2, card> must be placed in p>, otherwise an error 3, must use UTF-8, not With GB2312, if you get GET or POST data on your mobile phone, there will be garbled response.contenttype = "text / vnd.wap.wml"; response.write (" Xml version = /" 1.0 / "encoding = / "UTF-8 /"?> / r / n "); response.write (" / r / n");
Response.write (" / R / N"); response.write (" / r / n"); response.write ("< P> "); response.write (" WAP Home / r / N "); response.write (" card> / r / n "); Response.write (" WML> / R / N ");
4, Web.config is also set to UTF-85, in fact, WAP is simple, just pay attention to the details