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
Ïà¹ØÎÊ´ð£º
ÔõÑùÈÃaspÍøÕ¾ÓÐwapÍøÖ·???????????¼±¼±¼±¼±¼±¼±
http://www.spforum.net/xinwen/newsfile/6/60326.html
ÄãÍøÒ³Ð´ÁËÂð£¿Ìí¼Ó¼¸¸ömimeÀàÐͲ»¾ÃÐÐÁËÂð£¿
ÄÄÔõôÌí¼ÓmimeÀàÐÍÄØ?????????????????????
Âé·³°Ñ´ ......
̸̸WAPÍøÕ¾¿ª·¢µÄ·¢Õ¹!Èç¹ûWAP²»Ö§,ËÄÜ´úÖ®?
¶¥ÁË
²»»áÊÇÏ뿪·¢colorÕ¾°É¡£ÄǶ«Î÷µ¹ÊÇ׬Ǯ£¬´ò»÷ÑÏÀ÷
Ì«¸ßÉîµÄ»°Ì⣡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡
¸öÈ˸оõûʲô·¢Õ¹
¶ÔÕâ·½Ãæ,»¹Ã»ÓнӴ¥¹ý°¡!
......
ÔõôʵÏÖ¸´Ñ¡¿òȫѡ ʵÏÖ·Ò³´«ÖµÎÊÌ⣬½«¸´Ñ¡¿òid ÓëÁíÒ»¸öinputÓòʵÏְ󶨣¬Ìá½»µ½ºǫ́£¬²¢¶ÔinputÓòʵÏÖУÑ飬
Õâ¸öÔõô×ö°¡ £¬ÏîÄ¿ÖÐÓ㬸տªÊ¼Ñ§£¬ÄÜ·ñÖ¸µãһϣ¬Íò·Ö¸Ðл¡£¡£¡£¡£×îºÃÓдúÂë°ïÖú
ÎÊÎÊÌâ¶¼²»È ......
ÔÚweb.configÖÐÅäÖÃ
<globalization fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8" />
aspxÒ³Ãæ
<%Response.ContentType = " ......
SQL code:
rs.open "select * from guide where city_name='±±¾©' order by pai desc",conn,1,1
do while not rs.eof or rs.bof
¡£¡£
¡£¡£
¡£¡£
rs.movenext
loop
Õâ¸ösqlÓï¾äÔÚwapÕ¾Àï ±¾ÉíÓÐ ......