Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

http Á¬½ÓwapÍøÕ¾Á¬½Ó²»ÉÏ,´úÂëÈçÏ£¡£¡£¡£¡£¡

»¹ÓÐÎÒÎÊÏ£¬Ä£ÄâÆ÷²âÊÔ³ÌÐòµÄʱºòÊDz»ÊDz»ÄܲâÊÔÁ¬½ÓwapÍøÕ¾£¡£¡

Java code:

void getViaHttpConnection(String url) throws IOException
{
HttpConnection c = null;
InputStream is = null;
int rc = 0;

try
{


c = (HttpConnection) Connector.open("http://10.0.0.172:80/+?sid=.7e4adab1d4644bd8982f8e4e7bdd81f4&sprefer=sypd05", Connector.READ, true);
c.setRequestProperty("X-Online-Host", "http://m.taobao.com/");
c.setRequestProperty("User-Agent", System.getProperty("microedition.profiles"));



c = (HttpConnection) Connector.open("http://10.0.0.172:80/+?sid=.7e4adab1d4644bd8982f8e4e7bdd81f4&sprefer=sypd05", Connector.READ, true);
c.setRequestProperty("X-Online-Host", "http://m.taobao.com/");
c.setRequestProperty("User-Agent", System.getProperty("microedition.profiles"))

rc = c.getResponseCode();
if (rc != HttpConnection.HTTP_OK)
{
throw new IOException("HTTP response code: " + rc);
}
is = c.openInputStream();

// Get the ContentType
String


Ïà¹ØÎÊ´ð£º

MTK ÁªÍ¨µÄ¿¨ÉÏwap½ÓÊÕµ½²¿·ÖÊý¾Ýºó¶ÏµôÁË

ÓõÄÊÇMTK_6235_09A°æ±¾£¬ÓÃsocketʵÏÖhttp·¢ËÍÇëÇó¸ø·þÎñÆ÷£¬ÄܽÓÊÕµ½·þÎñÆ÷·µ»ØµÄ²¿·ÖÊý¾Ý£¬ÓõÄÊDZ±¾©ÁªÍ¨µÄ¿¨£¬ÓÃuniwap·½Ê½ÁªÍø£¬ÊÕµ½µÄÏìÓ¦¸ñʽÈçÏ£º
HTTP/1.1 200 OK
Content-Type: application/octet-str ......

wapÓëmobileÍøÕ¾ - Òƶ¯Æ½Ì¨ / ¿ª·¢Ó¦ÓÃ

ÓÃ.net¿ª·¢ÊÖ»úÍøÕ¾£¬¶ÔÓÚmobileºó׺µÄÓÐʲôÇø±ð£¿±ØÐëÒªÓÃÒƶ¯¿Ø¼þÂð£¿ÁíÍ⣬ÈçºÎµÃµ½À´·ÃÕßµÄÊÖ»úºÅ¡£Ö§³Ö.cssºÍjavascriptÂð?
ÔõôûÈ˻شðѽ¡£55555.ÄѵÀÊÇ˵·ÖµÍÂð£¿

ÔõôûÈ˻شðѽ¡£55555.ÄѵÀÊÇ˵·ÖµÍ ......

wap ÂÒÂë - .NET¼¼Êõ / C#

ÔÚweb.configÖÐÅäÖÃ
  <globalization fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8" />
aspxÒ³Ãæ
<%Response.ContentType = " ......

ÓÐûÓÐÃâ·ÑµÄwapÍÐ¹Ü - Òƶ¯Æ½Ì¨ / µçÐÅITÓ¦Óÿª·¢

¾ÍÏñwebÀïÃæµÄjsp¿Õ¼äPHP¿Õ¼äÍйÜÕâÑùµÄ£¬ÄÜÉÏ´«wmlÒ³ÃæºÍÁ¬Êý¾Ý¿âµÄ¡£ÎÒÖªµÀtagtagÕâÑùµÄ£¬µ«ÊÇÖ»ÄÜÔÚËü¹æ¶¨µÄ·¶Î§ÄÚдÄÚÈݶø²»ÄÜд´úÂë¡£
¸÷λ´óÏÀÓÐË­ÖªµÀ¹úÄÚ»ò¹úÍâµÄÃâ·ÑwapÍйÜÂð£¿Âé·³¸æËßÒ»Éùлл£¡
Óðٶ ......

ÓÐÓÃJ2EE¿ª·¢wapµÄÂ𣿴ó¼ÒÌÖÂÛÏ - Java / Java EE

Æäʵ£¬ÎÒÊÇÐÂÊÖ£¬²»»á¶øÒÑ£¬ÎÒ×Ô¼ºËÑË÷ÁËÏÂ×ÊÁÏ£¬¿´µ½ÓÐwap1.2ºÍwap2.0Ö®·Ö£¬ºÃÏñ»¹ÒªÑ§Ï°wmlÓïÑÔºÍasp£¬ÎÒÊÇj2ee³öÉí£¬Ñ§ÆðÀ´Ò²²»»áºÜÄÑ£¬µ«ÊÇÖ»ÊÇÏë³¢ÊÔÏÂÓÃj2ee¿ª·¢wap£¬ÏÈÎÊÌâÈçÏ£º
1.j2ee¿ª·¢wapÍøÕ¾¿ÉÐÐÐÔ£¬ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ