ÈÃÍøÕ¾¿Õ¼äÖ§³ÖWAP·ÃÎÊ
WAP¼¼Êõ½öÊÇÒ»Ïîä¯ÀÀÆ÷¿Í»§¶Ë¼¼Êõ£¬´ó¶à×öÓÅ»¯µÄ£¨µç»°Â¼ÒôºÐ£©¶Ô´Ë¶¼ÓÐÁ˽⣬Òò´ËÈÃÄúµÄÕ¾µãÖ§³ÖWAP¹¦ÄÜÖ»ÐèÒªÐÞ¸ÄWEB·þÎñÆ÷µÄMIMEÀàÐÍÁÐ±í£¬Ê¹ËûÄܹ»ÕýÈ·´¦ÀíWAPÀàÐ͵ÄÎļþ¡£Ò²¾ÍÊÇÆäËû¹©Ó¦É̳£ËµµÄ“WAPÐéÄâÖ÷»ú”»ò“ÎÞÏßÐéÄâÖ÷»ú”ÔÚÎÒÃǵÄÍøÕ¾¿Õ¼äÖÐWindowsϵͳµÄIISÊÇ¿ÉÒÔͨ¹ýPlesk¿Õ¼ä¿ØÖÆÃæ°åÀ´×Ô¶¨MIMEÎļþÍ·µÄ¡£¾ßÌå²Ù×÷Ϊ֮ÈçÏ£º
PLesk¿ØÖÆÃæ°å -> Ö÷Ò³ -> ÄúµÄÕ¾µã -> Web Ŀ¼ -> MIME ÀàÐÍ
È»ºóµã»÷“Ìí¼ÓMIMEÀàÐÍ”£¬ÎªÕ¾µãÔö¼ÓÈçÏÂÀ©Õ¹µÄÀàÐÍÓ°É䣺
À©Õ¹£º.3gp
ÄÚÈÝ£ºvideo/3gpp
À©Õ¹£º.wmls
ÄÚÈÝ£ºtext/vnd.wap.wmlscript
À©Õ¹£º.wmlsc
ÄÚÈÝ£ºapplication/vnd.wap.wmlscriptc
À©Õ¹£º.wsc
ÄÚÈÝ£ºapplication/vnd.wap.wmlscriptc
À©Õ¹£º.wbmp
ÄÚÈÝ£ºimage/vnd.wap.wbmp
À©Õ¹£º.wml
ÄÚÈÝ£ºtext/vnd.wap.wml
À©Õ¹£º.wmlc
ÄÚÈÝ£ºapplication/vnd.wap.wmlc
Íê³ÉºóÄúµÄÕ¾µã¾Í¿ÉÒÔÓëÊÖ»úµÄWAPä¯ÀÀÆ÷ÕýÈ·½»»¥Êý¾ÝÁË£¬Ò²¾ÍÊÇ˵ÄúµÄÕ¾µãÏÖÔÚÒѾÍêÈ«Ö§³ÖWAPä¯ÀÀÁË¡£
Ïà¹ØÎĵµ£º
ÔÎĵØÖ·£ºhttp://www.pumaboyd.com/archives/754
WAP1.1ʱ´úÊÇ·ñ½áÊøÕâ¸ö²»¿É϶¨ÂÛ¡£µ«WAP2.0µÄ´óÃæ»ýʹÓÃÓ¦¸ÃÒѾ³ÉÊì¡£DianPingÍøµÄWAPÕ¾µãÒ²»ù±¾ÉÏǨÒƵ½WAP2.0
´Ó¹¹½¨WAPÍøÕ¾µÄ¹ý³ÌÀ´¿´,WAP2.0ºÍWAP1.1²¢Ã»ÓÐʲôºÜ´óµÄÇø±ð¡£
¿ÉÒÔÕâô˵wap2.0Æäʵ¾ÍÊÇxhtmlµÄÍøÕ¾£¬¶øwap1.1ÊÇwmlµÄÍøÕ¾¡£
Ïà±ÈWMLÊܵ½µÄÏÞÖÆ£¬WA ......
package org.fox.image;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.microedition.io.Connector;
import javax.microedition.io.HttpConnection;
import javax.microedition.lcdui.Image;
/**
* ÀàÃû£ºImageHandler.java ±àдÈÕÆÚ: 2007-8-17 ......
Ê×ÏÈ˵×î¸ù±¾µÄ½â¾ö·½·¨£º
ÊÖ »ú·ÃÎÊʱ£¬»á¸½´ø·¢ËÍuser-agentÐÅÏ¢£¬Õâ¸öÐÅÏ¢ÀïÃæ»áÓÐÊÖ»úºÅÂëÐÅÏ¢£¬ÄÇôÈç¹ûÄÜÈ¡µÃÊÖ»úºÅÂ룬Ôò¿ÉÒԿ϶¨ÊÇͨ¹ýÊÖ»úwap·ÃÎʵġ£µ«ÊÇÄ¿Ç°ÖÐ ¹úÒƶ¯ÒѾÆÁ±ÎÁËuser-agentÐÅÏ¢£¬ËùÒÔ»ñÈ¡²»µ½ÊÖ»úºÅÂë¡£ÓйØϵµÄÅóÓÑ¿ÉÒÔÁªÏµÒƶ¯¹«Ë¾£¬°ÑwapÍøÕ¾·þÎñÆ÷µÄipÌá½»¸øÖйúÒƶ¯£¬¼ÓÈë°×Ãûµ¥ ºó¼´¿ÉÈ¡µ ......
ÓÉÓÚWAPÐŵÀ´ø¿íµÄÏÞÖÆ£¬ÎÒÃÇÔÚ±àдWAPÓ¦ÓõÄʱºò¶¼Ï£Íû×î´óÏ޶ȵؼõÉÙÏûÏ¢µÄ´«ËÍÁ¿¡£Òª×öµ½ÕâÒ»µã£¬¾ÍÒª¾¡Á¿µØʹÓûº´æ£¬¾³£µØ´Ó»º´æÖлñµÃÒÔÇ°µÄÏûÏ¢¡£ÐÒÔ˵ÄÊÇÄ¿Ç°´ó¶àÊýWAPÉ豸¶¼ÓÐÒ»¶¨¼¶±ðµÄ»º´æ£¬ÔÚĬÈÏÇé¿öÏ£¬»á³¢ÊÔ×î´ó»¯µÄ»º´æ¡£¼¸ºõËùÓÐÖ¸ÏòURLµÄÏìÓ¦¶¼»á±»»º´æÏÂÀ´¡£
......