WAP¾Ñé×ܽá
°üÀ¨WAP1.2ºÍWAP2.0£¬°üÀ¨Òƶ¯ºÍÁªÍ¨£¬¶Ô¸÷¿îÊÖ»ú¶ÔWMLºÍXHTMLÖ§³ÖµÄÒ»¸ö×ܽá
Nokia 3310 ¶ÔdoµÄÌá½»²»»áÏÔʾȷ¶¨,¾ÍÊǶÔÈí°´¼üÖ§³ÖÓÐÎÊÌ⣻
——————————————-
NEC N800
¶ÔinputÊäÈë¿òÓÐformatµÈ¶àÓàÊôÐÔʱ£¬Ôò²»ÄÜÊäÈë×Ö·û£»
×Ö·û¼¯£ºÎÒʵ¼Ê²âÊԷdz£Ææ¹Ö,GETµÄ¾ÓÈ»UTF-8ºÍGB2312¶¼¿ÉÒÔ£»
Ö§³ÖÒ³ÃæÄÚCSS ,Ö§³Ö±³¾°Í¼£»
Ö§³ÖXTHML,WAP2.0£»
¶ÔͼƬÁ´½ÓÑ¡ÖкóºÜÃ÷ÏÔ,¾ÍÊÇÄÑ¿´Ð©,ÍÁ»ÆÉ«µÄÍâ¿ò£»
Ö§³Ö¹ö¶¯×Ö
Ö§³Ö±³¾°ÒôÀÖ
Ö§³Ö±í¸ñ
——————————————-
ÈýÐÇSCH-X859(CDMA)¶ÔWAP2.0Ö§³ÖºÜºÃµÄ£¬¶Ôlink href=”images/style.css” mce_href=”images/style.css” rel=”stylesheet” type=”text/css” µÄд·¨Ö§³Ö£¬Ö§³Ö±³¾°Í¼Æ¬£¬Ö§³Ö±³¾°ÒôÀֵȡ£¶ÔͼƬÁ´½ÓÑ¡¶¨ºóÓÐÒ»¸ö²»Ì«Ã÷ÏԵĿòµ«ÊÇÄܸоõµ½Ñ¡ÖÐÁË£»
Õâ¿îÊÖ»úµÄ*¼üºÍ#¼üÊÇÊÖ»ú¹Ì»¯Á˵ÄÏòÉÏÏòÏÂ,¶ÔÓÚÁªÍ¨µÄ¹æ¶¨Ã»·¨Ö´ÐÐÁË£»
——————— ......
ÔÚÀ¶É«ÉÏÓÐÒ»¸öºÜºÃµÄwap2.0¡¡ppt£¬ºÜ²»´í£¬µ«¿´ÆðÀ´²»ÊÇÌرðµÄˬ£¬ËùÒÔ¾Í×ö³ÉÁËÎÄ×Ö°æ±¾
ÈçÏ£º
WAP 2.0
—— 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ä¯ÀÀÆ÷Ó뻥ÁªÍøÖ®¼ä
ÒÔÇ°WAPÍøÕ¾£¨WML and WMLScript £©
¸ü¶àµÄչʾ±íÏÖ£¨presentation control £©
£¨Ò»£©XHTML MP ½éÉÜ
ÓÅÊÆ£º¿ª·¢µÄÕ¾µã¿ÉÒÔÔÚWEBºÍÎÞÏßÉ϶¼¿ÉÒÔʹÓã¬Ò²¿ÉÒÔÓÃÈκÎWebä¯ÀÀÆ÷·ÃÎÊWAP2.0Ó¦ÓÃ
Ïòºó¼æÈÝ£ºXHTML MP / WCSS ºÍ WML / WMLScript
£¨¶þ£©ÎÞÏß±ê¼ÇÓïÑÔ·¢Õ¹
HTML£ºWAP·¢Õ¹µÄÊ×ÒªÈÎÎñ——Òƶ¯µç»°£¬PDAµÈ·ÃÎÊ»¥ÁªÍø¡£WAP standard (WML and XHTML Mobile Profile) ÀàËÆHTML
WML£¨Wireless Markup Language£© 1.x£ºWAP 1.x ¹æ·¶Öй涨µÄ±ê¼ÇÓïÑÔ£¬ÎÞÏßÉ豸µÄµÚÒ»¸ö±ê¼ÇÓïÑÔ¡£Openwave¡¢Nokia ºÍ Ericsson ºÜÔ綼ÓÐ×Ô¼ºµÄ±ê¼ÇÓïÑÔ¡£WML¹æ·¶ÊÇWAP Forum£¨97£©´´½¨µÄ¡£¶øÏÖÔÚ£¬ºÜ¶àµÄWAPÕ¾µãÒÀȻʹÓõÄÊÇWML¡£
XH ......
ÓÉÓÚWAPÐŵÀ´ø¿íµÄÏÞÖÆ£¬ÎÒÃÇÔÚ±àдWAPÓ¦ÓõÄʱºò¶¼Ï£Íû×î´óÏ޶ȵؼõÉÙÏûÏ¢µÄ´«ËÍÁ¿¡£Òª×öµ½ÕâÒ»µã£¬¾ÍÒª¾¡Á¿µØʹÓûº´æ£¬¾³£µØ´Ó»º´æÖлñµÃÒÔÇ°µÄÏûÏ¢¡£ÐÒÔ˵ÄÊÇÄ¿Ç°´ó¶àÊýWAPÉ豸¶¼ÓÐÒ»¶¨¼¶±ðµÄ»º´æ£¬ÔÚĬÈÏÇé¿öÏ£¬»á³¢ÊÔ×î´ó»¯µÄ»º´æ¡£¼¸ºõËùÓÐÖ¸ÏòURLµÄÏìÓ¦¶¼»á±»»º´æÏÂÀ´¡£
¸ù¾Ý[RFC2616]µÄ¶¨Ò壬»º´æÊÇ£º"³ÌÐòÖÐÏìÓ¦ÏûÏ¢µÄ±¾µØ´¢´æÇøÒÔ¼°¿ØÖÆÕâЩÏûÏ¢´¢´æ¡¢ÖØлñÈ¡ºÍɾ³ýµÄ×Óϵͳ¡£»º´æ±£´æ¿ÉÒÔ»º´æµÄÏìÓ¦ÏûÏ¢ÒԱ㽵µÍ½«À´µÄÏìӦʱ¼äºÍÍøÂç´ø¿íÏûºÄ£¬Í¬ÑùÒ²ÊÊÓÃÓÚÇëÇóÏûÏ¢¡£"
µ±WAPÓû§Öն˻º´æÒ»¸öÏìÓ¦µÄʱºò£¬»á±£´æ¼¸ºõËùÓеÄÐÅÏ¢£ºURL¡¢ÏìÓ¦Îı¾¡¢ÏûϢͷÒÔ¼°ÆäËû¿ÉÒÔÑéÖ¤ÏìÓ¦µÄÄÚÈÝ£¨²Î¿´ÏÂÒ»½Ú"ÑéÖ¤ºÍÀúÊ·¶ÑÕ»"£©¡£Ã¿¸ö±»»º´æµÄÏîÄ¿¶¼¿ÉÒÔ¸ù¾ÝËüµÄURL×é³É²¿·Ö£¨ÓòÃû¡¢Â·¾¶¡¢ÐÒé¡¢²ÎÊý¡¢¶Ë¿ÚµÈµÈ£©Î¨Ò»µÄʶ±ð¡£
ÓÐÁ½ÖÖHTTPÏûϢͷ¿ÉÒÔÈÃÄã¿ØÖÆWMLµÄDECK»º´æ£¬¶ÔÎÒÃÇ×îÖØÒªµÄÊÇCache-ControlÏûϢͷ¡£ËüÄܹ»Ö±½Óͨ¹ýÇëÇó/ÏìÓ¦Á´À´¿ØÖÆËùÓеĻº´æʵÌå¡£ËùÓеĻº´æ»úÖƶ¼±ØÐë×ñÊØÕâЩÏûϢͷµÄ¶¨Òå¡£Cach-ControlÏûϢͷͨ³£ÓÃÀ´ÆÁ±ÎÒ»¸öÉ豸µÄĬÈÏ»º´æÐÐΪ¡£ËûÃÇÔÚÏûÏ¢Á´Öд«µÝʱ±ØÐëÖ±½Ó´©¹ýËù ......
ÔÚWMLÖУ¬ÓÉÓÚÖ§³ÖµÄä¯ÀÀÆ÷²»Í¬£¬¶ÔÓÚͼƬ¸ñʽҲÓв»Í¬µÄÏÞÖÆ¡£±ÈÈç³£¼ûµÄM3Gate£¬Ä¿Ç°Ö÷ÒªÖ§³ÖµÄÊÇPNG¸ñʽ£¬ÓеÄä¯ÀÀÆ÷Ö§³ÖµÄÊÇJPGµÄ¸ñʽ¡£µ«ÊÇÈç¹ûͼƬ²»ÊÇ×Ô¼º¼Ó¹¤µÄ£¬±ÈÈçÊÇͨ¹ýÍøÒ³²É¼¯¹¤¾ß²É¼¯¹ýÀ´µÄͼƬ¸ñʽ¸÷²»Ïàͬ£¬ÕâÑù¾ÍÐèÒªÔÚ·¢²¼µÄʱºò½øÐÐͳһµÄ¸ñʽ´¦Àí¡£
ÔÚÕâÀÓÉÓÚ¸öÈËÒ»Ö±´ÓʵÄÊÇJ2EEµÄÑз¢£¬ËùÒÔÔÚ·¢²¼Í¼Æ¬µÄʱºò¶¼ÊDzÉÓÃServletÀ´·¢²¼µÄͼƬ£¬ÎªÁ˽â¾öWAPÖÐÓöµ½µÄÕâ¸öÌôÕ½£¬×öÁËһЩ±È½ÏÉîÈëµÄÑо¿¡£ÏÂÃæÊÇÕûÀíºóµÄ½â¾ö·½°¸£¨ÒѾʵÏÖ£©£¬À´Íê³ÉͼƬ·¢²¼Ê±Í³Ò»Í¼Æ¬¸ñʽ¡£
Solutions£º
ÔÚJ2EEµÄWebÓ¦ÓÃÖУ¬³£¼ûµÄ¹æ·¶ÊÇServlet¹æ·¶£¬ÓÉÓÚÄ¿Ç°Ö÷Á÷µÄÓ¦Ó÷þÎñÆ÷¶¼Ö§³ÖServlet2.3¹æ·¶£¬ËùÒÔ±¾·½°¸µÄ»ù±¾¾ÍÊÇServlet2.3¹æ·¶£¬ÀûÓÃServlet2.3ÖеÄFilterÌØÐÔÀ´¹ýÂËͼƬÄÚÈÝ£¬ÕûºÏͼƬ¸ñʽ¡£ÏÂÃæÊǾßÌåµÄ½â¾ö·½°¸£¨¼ÙÉèÓÃÀ´·¢²¼Í¼Æ¬µÄServletÊÇgetImage£©£º
ÔÚgetImageÇ°ÃæÅäÖÃÇ°ÖõÄFilter£¬ÔÚ¿Í»§¶Ë·ÃÎÊͼƬµÄʱºò£¬À¹½Ø¿Í»§¶ËµÄÇëÇó£¬Éú³ÉÒ»¸öеÄServletResponse¶ÔÏ󴫵ݸøgetImage¡£
ÌṩºóÖõÄFilter£¨ImagePostFilter£©
ÔÚgetImageÉÏÃæÅäÖúóÖõÄFilter£¬À¹½ØgetImageµÄ·µ»Ø½á¹û£¬Í¬Ê±¸ù¾ÝgetImageµÄ·µ»Ø½á¹û£¬½«Í¼Æ¬×ª»»³ÉͳһµÄ¸ñʽ·µ»Ø¸ø¿Í»§¶ ......
×î½ü×Ô¼ºÊµÏÖÁËÒ»¸öwapä¯ÀÀÆ÷£¬³õÖÔʹÓÃÀ´×öÊý¾Ý²É¼¯µÄ£¬ÆäʵÓÃÀ´×öÍøÒ³ä¯ÀÀ¿´À´Ò²¿ÉÒÔ£¬²»¹ýj2meÉÏ»ù±¾¶¼²»Ö§³ÖgifͼƬ°¡£¬ËùÒÔÓÐЩͼƬ²»ÄÜÏÔʾ£¬»¹ÓоÍÊÇpostºº×ÖµÄʱºò·þÎñÆ÷»áÈÏΪÊÇÂÒÂë¡£
ÏÂÃæÊÇһЩ½Øͼ:
Ä¿Ç°µÄÖÐÎÄÊäÈë·¨²»ºÃÓ㬵ÈÓпÕÁËÔÙ°ÑÎÄ×Ö°´Ê¹ÓÃƵÂÊÅÅÐò£¬ÓÐÐËȤµÄÅóÓÑ¿ÉÒÔÒ»Æð̽ÌÖ°¡£º£©
mail:qiangpenggg@gmail.com ......
XHTML MP (XHTML Mobile Profile) ¼ò½é
ʲôÊÇ XHTML MP?
XHTML MP (¿ÉÀ©Õ¹±ê¼ÇÓïÑÔÒƶ¯¸ÅÒª) WAP 2.0 Öж¨ÒåµÄ±ê¼ÇÓïÑÔ. WAP 2.0 ÊÇ WAP ÂÛ̳ (ÏÖΪ¿ª·ÅÒƶ¯ÁªÃË [OMA]) ´´½¨µÄ×îеÄÒƶ¯·þÎñ˵Ã÷. ¶Ô WAP CSS (WAP ¼¶ÁªÑùʽµ¥»ò WCSS) µÄ˵Ã÷Ò²ÔÚ WAP 2.0 ÖÐ×÷Á˶¨Òå. WAP CSS ÊÇ XHTML Òƶ¯¸ÅÒªµÄ°éÂÂ, ¶þÕß³£±»Ò»ÆðʹÓÃ. ÓÐÁË WAP CSS, Äã¿ÉÒÔÇáËɵظıäÓë¸ñʽ»¯ XHTML MP Ò³ÃæµÄÕ¹ÏÖ.
XHTML Òƶ¯¸ÅÒªÊÇ XHTML µÄ×Ó¼¯, ÊÇ HTML µÄ¸üÑϸñµÄ°æ±¾. XHTML Òƶ¯¸ÅÒªÊÇ XHTML »ù´¡ (Basic, Ò²ÊÇ XHTML µÄÒ»¸ö×Ó¼¯) ¼ÓÉÏÁË XHTML ÍêÈ«°æÖÐһЩ¶îÍâµÄÔªËغÍÊôÐÔ.
XHTML Òƶ¯¸ÅÒªµÄÄ¿±ê, ÊÇ°ÑÒƶ¯ÒòÌØÍøä¯ÀÀºÍÍòάÍøä¯ÀÀµÄ¼¼Êõ½áºÏÆðÀ´. ÔÚ XHTML Òƶ¯¸ÅÒª²úÉú֮ǰ, WAP ¿ª·¢ÈËÔ±Óà WML ºÍ WMLScript ´´½¨ WAP ÍøÕ¾, ¶ø Web ³ÌÐòÔ±Óà HTML / XHTML ºÍ CSS ¿ª·¢ Web ÍøÕ¾.
XHTML Òƶ¯¸ÅÒª·¢²¼ºó, ÎÞÏßÊÀ½çºÍÓÐÏßÊÀ½çµÄ±ê¼ÇÓïÑÔ×îÖÕ»ã¾Ûµ½ÁËÒ»Æð. XHTML Òƶ¯¸ÅÒª ºÍ WAP CSS ¸³ÓèÁËÎÞÏßÒòÌØÍøÓ¦Óÿª·¢ÈËÔ±¸ü¶à¸üºÃµÄÕ¹ÏÖ¿ØÖÆ. È»¶ø, ×î´óµÄÓŵã, ÊÇÄãµÄ Web °æºÍÎÞÏß°æÒòÌØÍøÍøÕ¾¿ÉÒÔÓÃͬÑùµÄ¼¼Êõ¿ª·¢. Äã¿ÉÒÔÔÚÔÐÍ»¯ºÍ¿ª·¢¹ý³ÌÖÐÓÃÈκΠWeb ä¯ÀÀÆ÷²é¿´ÄãµÄ WAP2.0 Ó¦ÓóÌÐò.
......
×ܼǼÊý:91; ×ÜÒ³Êý:16; ÿҳ6 Ìõ;
Ê×Ò³ ÉÏÒ»Ò³ [1] [2] [3] 4
[5] [6] [7] [8] [9] [10] ÏÂÒ»Ò³ βҳ