wapÁ÷Á¿Í³¼Æ´úÂ룺¹ØÓÚ»ñÈ¡·þÎñÆ÷»·¾³±äÁ¿µÄ·½·¨
×î½üÔÚдһ¸öwapÁ÷Á¿Í³¼ÆµÄ¹¤¾ß£¬ÓÚÊǾÍÈ¥ÕÒ¹ØÓÚwapÁ÷Á¿Í³¼ÆµÄÏà¹ØÍøÕ¾»òÂÛ̳¡£
ǰÁ½ÌìÕÒµ½1¸öËû¾ËÍø£¬×¨ÃÅ×öwapÍøÕ¾Á÷Á¿Í³¼ÆµÄ£¬ÓÚÊÇÈ¥ÆäÂÛ̳Öп´ÁË¿´Ð©¼¼ÊõÎÄÕ£¬¸Ð¾õ»¹¿ÉÒÔ¡£Ó¦¸ÃÊÇгöÏֵģ¬ÒÔǰûÓз¢ÏÖ¡£
ÆäÖÐÓÐÆªÎÄÕºܼòµ¥£¬ÊÇasp.netµÄ»ñÈ¡·þÎñÆ÷»·¾³±äÁ¿·½·¨£º
public string GetServerVariables()
{
NameValueCollection nvc = Request.ServerVariables;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < nvc.Count; i++)
{
sb.Append("Key:" + nvc.GetKey(i) + "\r\n");
string[] values = nvc.GetValues(i);
string value=string.Empty;
for (int z=0; z < values.Length; z++)
{
value = value + values[z];
}
sb.Append("Value:" + value + "\r\n\r\n");
}
return sb.ToString();
}
ÎÒ¹À¼ÆÊÇÔÚÁ÷Á¿Í³¼ÆÊ±»ñÈ¡·þÎñÆ÷¶ËÊý¾ÝµÄ£¬
²»¹ýÎÒ¸öÈ˾õµÄÊDz»ÊÇ¿ÉÒÔÕâÑùд£º
public string GetServerVariables(HttpRequest request)
{
StringBuilder variables = new StringBuilder();
if (request != null)
{
foreach (string key in request.ServerVariables.AllKeys)
{
variables.Append("Key:" + key + "\r\n");
variables
Ïà¹ØÎĵµ£º
×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®½çÃæ¼Ü¹¹Æª(ÊÖ°ÑÊÖ½ÌÄãiphone¿ª·¢ – ½ø½×ƪ)
×÷ÕߣºËï¶«·ç 2009-12-28£¨×ªÔØÇë×¢Ã÷³ö´¦£©
ÔÚ±ÊÕßµÄÉÏÆªÎÄÕ¡¶×Ô¼º¶¯ÊÖдiPhone wapä¯ÀÀÆ÷Ö®BSD SocketÒýÇæÆª¡·ÖÐÒѾ³É¹¦½âÎö³öÀ´ÁËwmlÒ³ÃæÖеÄtag£¬Èç¹û¶ÁÕß×ÐϸµÄ»°¿ÉÄܻῴµ½ÀïÃæÖÐÎĵÄtagÏÔʾΪÂÒÂ룬ÕâÊÇÒòΪÔÚiPhoneÉÏĬÈϵÄÖÐÎı ......
—— XHTML MP and WCSS
Ò»¡¢WAPµÄ³£Ê¶£¨Ê¡ÂÔ£©
¶þ¡¢XHTML MP
£¨Ò»£©XHTML MP ½éÉÜ
XHTML MP£¨eXtensible HyperText Markup Language Mobile Profile£©
WAP2.0
ÓëWCSS£¨WAP CSS /WAP Cascading Style Sheet£©ÅäÌ×ʹÓÃ
ÊÇXHTMLµÄ×Ó¼¯
XHTML Basic (XHTML×Ó¼¯)+ÁíÍâµÄһЩXHTMLµÄÔªËØºÍÊôÐÔ
WAPä¯ÀÀÆ÷Óë» ......
£¨Ê®¶þ.2£©WCSSÊäÈëÀ©Õ¹
Èç¹ûÖµÓï·¨´íÎó£¬ÔòWAPä¯ÀÀÆ÷ºöÂÔ¸ÃÊôÐÔ¡£
Ò²¿ÉÒÔ°üº¬×ªÒå×Ö·û£º’\’ÔÚWCSSÖÐÊÇÌØÊâ×Ö·û£¬Ê¹ÓÃ’\\’¡£
¿ØÖÆÎı¾¿òÊÇ·ñ¿ÉÒÔÁô¿Õ£º-wap-input-required£¨ÖµÎª£ºfalseºÍtrue £©£¬°ïÖú¿ØÖÆÎı¾¿òÊÇ·ñ¿ÉÒԿհס£Ê¹ÓÃÔªËØÍ¬ÉÏ¡£
&n ......
ÊÖ»úÉÏÍøÔ½À´Ô½ÆÕ¼°£¬ÊÖ»úÖÖÀàÔ½À´Ô½¶à£¬Òª¿ª·¢Ò»¸ö¹©ÊÖ»ú·ÃÎÊÍøÕ¾²¢¼æÈÝËùÓв»Í¬ÀàÐ͵ÄÊÖ»úºÍä¯ÀÀÆ÷ÊǺܲ»ÈÝÒ׵쬱±¾©Ê¦·¶´óѧ×ÔϰÊÒ²éѯƽ̨µÄÊÖ»ú°æ×î³õÊÇÖ±½ÓÓÃASP.NETʵÏֵģ¬Ö»ÊÇÓÃCSS¶¨Òå³ÉÁËÊʺÏÊÖ»úÆÁÄ»µÄÒ³Ãæ£¬ËäȻͬѧÃÇ·ÃÎÊ»ù±¾Ã»ÓÐÎÊÌ⣬µ«ÊÇҲż¶û»áÓГ²»ÄÜÑ¡ÔñÏÂÀ²Ëµ¥”¡¢“°´Å¥button²»Ä ......
ÔÚÊÖ»úÓ²¼þ¸ßËÙÉý¼¶µÄ½ñÌ죬ԽÀ´Ô½¶àµÄÍøÕ¾ÒѾ´Ó´«Í³µÄwebÕ¾µã·¢Õ¹µ½ÓÚwebºÍwapΪһÌåµÄÈ«·½Î»Õ¾µãÁË¡£¸ù¾Ý×îÐÂͳ¼Æ£¬ÖйúĿǰwap
Óû§×ÜÊýÒѽӽü2ÒÚÈËÁË£¬¾ßÓжÀÁ¢ÓòÃûµÄwapÕ¾µãµÄÊýÁ¿Ô¼Îª50Íò¸ö¡£
ÎÒÃÇÖÚ¶àµÄwapÕ¾³¤½ô½ôµÄץסÁËÕâ¸ö»úÓö£¬ÖÚ¶àµÄwapÕ¾µã ......