ÊÖ»úÄÜ´ò¿ª.htmlµÄÍøÕ¾,Ϊʲô»¹Òª×öwapÍøÕ¾ÁË?
ÊÖ»úÄÜ´ò¿ª.htmlµÄÍøÕ¾,Ϊʲô»¹Òª×öwapÍøÕ¾ÁË?,,,ÊÖ»úä¯ÀÀwapÍøÕ¾ÓÐʲôºÃ´¦
ÎÒÃǹ«Ë¾×öµÄwap¾ÍÊÇhtmlµÄ¡£
¹Ø×¢
ºÜ¶àµÍ¶ËµÄÊÖ»ú¶¼»¹ÊÇÖ»ÄÜ¿´wml¸ñʽµÄÀ²£¬wml±¾À´¾ÍÊÇרÃÅÕë¶ÔÊÖ»úÖƶ¨µÄÒ»Ì×Ò³ÃæÏÔʾÓïÑÔÀ²£¬Ö»ÊÇÏÖÔÚÊÖ»úÖ§³ÖµÄ¸ü·á¸»ÁË£¬ËùÒÔhtml¸ñʽҲ¶¼¿ÉÒÔä¯ÀÀ
´ÏÃ÷µÄÊÖ»ú¾ÍÄÜ¿´html
±¿Ò»µãµÄ¾ÍÖ»ÄÜ¿´wml
ÎÒÃǹ«Ë¾µÄ»¹ÊÇJSPµÄÄØ£¡
Ö÷Òª¾ÍÊÇHTMLµÄÖ»ÓÐÕâÁ½ÄêµÄпîÊÖ»ú¿ÉÒÔ£¡
ÒÔÇ°µÄÀÏʽÉÏÍøÊÖ»ú¿´²»ÁË£¡
²»ÖªµÀÊÖ»úµÄhtmlÊDz»ÊÇÒ²Ö§³Öjs°¡,ÒªÊÇÖ§³Ö£¬¿É¾Í·½±ãÁË¡£
Ïë·¨²»´í ºÇºÇ
¿´À´wapÒªÌÔÌÁË¡£
JSPÊÇʲô£¿»¹²»ÊÇhtml¡£¡£¡£¡£
php.asp.aspx.jsp¶¼¿ÉÒԵĹؼüÊÇÄãµÄÊÖ»ú¿ÉÒÔ±ðÈËÊÖ»ú²»Ò»¶¨¿ÉÒԵġ£ËùÒÔÕâЩÍøÒ³Êä³ö¶¼ÊÇwml¸ñʽ¡£
·Öä¯ÀÀÆ÷£¬ÏÖÔÚie ºÍ opera µÈÒƶ¯ä¯ÀÀÆ÷¶¼Ö§³Öjs°¡¡£
ÊÇ°É,Õâôǿ´ó°¡.
ѧϰ
ÏÖÔÚµÄwapÒ»°ã¶¼ÊÇopera£¬£¬±¾À´¾ÍÊÇhtml
¹Ø×¢
żµÎÉñ
ÏȲ»Ëµ±ðµÄ£¬Ã²ËÆÁ÷Á¿¾ÍÄÜŪËÀÄúÀÏÈ˼ÒÁË£¬ÓÃÊÖ»úÉÏ ÍòάÍøÕ¾µãµÄ»°Òª±ÈwapÕ¾µãµÄÁ÷Á¿´óµÄ¶àµÄ¶à°É£¬ÎÒÆäËûµÄ²»ÊǺÜÇå³þ£¬¾ÍÖªµÀÄãÒªÊÇÓÃÊÖ»úÉÏwwwÕ¾µãµÄ»°£¬²»°üÔ£¬Äã¾ÍµÈËÀ°É~
Ïà¹ØÎÊ´ð£º
ÎÒµÄjava applet ǶÈëhtmlºóÎÞ·¨ÏÔʾ£¬¶øÓÃappletviewerÏÔʾÕý³£ÎªÊ²Ã´£¬»¹ÓоÍÊÇÓÃhtml converterת»¯ºó¿ÉÒÔÏÔʾ£¬ÎªÊ²Ã´£¿Çë´óÏÀ´Í½Ì£¡
HTML code:
<HTML>
<HEAD>
<TITLE>TEST.HTML< ......
request.getHeader("User-Agent");Õâ¸öÏÖÔÚÒѾµÃ²»µ½ÁË.
ÇëÎÊ»¹ÓÐÆäËû°ì·¨Âð£¿
ºÇºÇ£¬ÏÖÔÚ²»ÌÖÂÛÄǸö
л¥ÉÏ£¬Ê×ÏȲ»J2MEÊÔwap.
ÄãÏÂÃæµÃÊÖ»úÐͺţºRequest.ServerVariables("HTT ......
1¡¢Ê×Ò³ÎļþÊDz»ÊÇΪindex.xml£¿
2¡¢ÎļþÊDz»ÊǶ¼µÃΪXMLºó׺£¬²»¿ÉÒÔASPºó׺£¿
3¡¢IISĬÈÏÎĵµ£¬ÊDz»ÊǵüÓÒ»¸öindex.xmlÄØ£¿
лл£¡£¡ÎÒ·þÎñÆ÷IISÒѾÓÐŪ֧³ÖXML£¬Ö§³ÖWAPÁË£¡
ûÈË°ïæÏ°¡
·ûº ......
ÎÒÔÚ×öÒ»¸öÍøÕ¾aspµÄ£¬ÏëÉú³Éhtml£¬Éú³ÉºóÈçºÎµ÷ÓÃÄØ£¿
È磺ÎÒµ±Ç°µ÷ÓÃÒ³ÃæÊÇhttp://192.168.0.100/jdasp/x.asp?cnmai=1795 £¬Éú³ÉµÄÊÇx1795.htmlÎļþ£¬
ÈçºÎÔÚµ÷ÓÃx ......
ÈçÌâËùʾ£¬´¦ÓÚijÖÖÐèÒª£¬ÐèÒª£¨ÎÞ·¨¸Ä±ä£©ÔÚhtml×îÍ·¶Ë¼ÓÉÏÒ»¶ÎJavaScript´úÂë¡£¿ÉÊǼÓÉÏÖ®ºó¾ÍÓ°ÏìÁËÒ³ÃæµÄÏÔʾ£¬ÓÐûÓÐÄÄÖÖ°ì·¨¿ÉÒÔ±ÜÃâÕâÖÖÇé¿öµÄ
ÈçÏÂËùʾ£¬ÔÀ´µÄhtmlHTML code:
<!DOCTYPE html P ......