WAP HttpConnectionÎÊÌâ
Java code:
public void run() {
gra.drawString("test",x,y,Graphics.LEFT| Graphics.TOP);
Font font = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_BOLD,
Font.SIZE_LARGE);
gra.setFont(font);
gra.setColor(0, 0, 0);
gra.drawRect(0, 0, this.getWidth(), this.getHeight());
// TODO Auto-generated method stub
javax.microedition.io.HttpConnection hc = null;
try {
hc = (HttpConnection) Connector
.open("http://110.43.5.66:8678/default.aspx");
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
try {
System.out.println("connected");
System.out.println(hc.getResponseMessage());
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
DataInputStream dis = null;
try {
dis = hc.openDataInputStream();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
int length = (int)hc.getLength();
byte[] b = new
Ïà¹ØÎÊ´ð£º
ÓÃ.net¿ª·¢ÊÖ»úÍøÕ¾£¬¶ÔÓÚmobileºó׺µÄÓÐʲôÇø±ð£¿±ØÐëÒªÓÃÒƶ¯¿Ø¼þÂð£¿ÁíÍ⣬ÈçºÎµÃµ½À´·ÃÕßµÄÊÖ»úºÅ¡£Ö§³Ö.cssºÍjavascriptÂð?
ÔõôûÈ˻شðѽ¡£55555.ÄѵÀÊÇ˵·ÖµÍÂð£¿
ÔõôûÈ˻شðѽ¡£55555.ÄѵÀÊÇ˵·ÖµÍ ......
ÔõÑùÈÃaspÍøÕ¾ÓÐwapÍøÖ·???????????¼±¼±¼±¼±¼±¼±
http://www.spforum.net/xinwen/newsfile/6/60326.html
ÄãÍøҳдÁËÂð£¿Ìí¼Ó¼¸¸ömimeÀàÐͲ»¾ÃÐÐÁËÂð£¿
ÄÄÔõôÌí¼ÓmimeÀàÐÍÄØ?????????????????????
Âé·³°Ñ´ ......
×î½üÓÃ.net¿ª·¢Ò»¸öwapµÄÓ¦Óã¬ÓÉÓÚÖ»ÄÜʹÓÃmobile¿Ø¼þ£¬ÔÚÓû§×¢²áµÇ½עÏúµÈ·½Ãæ²»ÖªµÀÔõôŪ£¬ÄÄλ¸ßÈ˸øÎÒÖ¸µãһϣ¬Ð»Ð»~~
wapºÍwebÊÇÒ»ÑùµÄ¡£
΢ÈíµÄ¿Ø¼þ˼ά°Ñweb³ÌÐòÔ±¸ãɵÁË¡£
ÒýÓÃ
wapºÍwebÊÇÒ»ÑùµÄ ......
´ó¼ÒºÃ£¬Ïò´ó¼ÒÇë½ÌÎÊÌâÁË~
ÒòΪ¹«Ë¾ÒµÎñÍØÕ¹£¬Ôö¼ÓwapÒµÎñ¡£
Ö÷ÒªÌṩÊÖ»ú¿Í»§¶ËÈí¼þ£¬ÊÖ»úÊÓƵµÈÒµÎñ
ÄÇôÎÒÏÖÔÚÏëÒªÏò´ó¼Ò×ÉѯһÏ£¬ÎÒÃDzúÉúµÄÕâЩÊÖ»úÁ÷Á¿,×îÖÕÈçºÎʵÏÖÊÕ·Ñ£¬ÊÕ·ÑģʽÊÇʲôµÄÎÊÌâ?
ÕâÊÇÎÒ ......
ÔÚweb.configÖÐÅäÖÃ
<globalization fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8" />
aspxÒ³Ãæ
<%Response.ContentType = " ......