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
Ïà¹ØÎÊ´ð£º
wap 1.0 wml ÒÔÏÂÊÇʲôÒâ˼£¿
<onevent type="onenterforward"> <refresh> <setvar name="txtUserName" value="" /> <setvar name="txtPassword" ......
ÔõÑùÈÃaspÍøÕ¾ÓÐwapÍøÖ·???????????¼±¼±¼±¼±¼±¼±
http://www.spforum.net/xinwen/newsfile/6/60326.html
ÄãÍøÒ³Ð´ÁËÂð£¿Ìí¼Ó¼¸¸ömimeÀàÐͲ»¾ÃÐÐÁËÂð£¿
ÄÄÔõôÌí¼ÓmimeÀàÐÍÄØ?????????????????????
Âé·³°Ñ´ ......
¿Í»§ÓдóÔ¼20¸öwebÍøÕ¾ÐèҪת»»ÎªwapÍøÕ¾£¬µ«ÊÇÎÒÃDz»ÏëÒ»¸öÒ»¸öÍøÕ¾È¥¸øËûÃÇ¿ª·¢£¬Ï£ÍûÕÒÒ»¸öÄÜ×Ô¶¯×ª»»µÄϵͳ£¬ÏµÍ³ÄÜʵÏÖ90%×óÓÒµÄ×Ô¶¯×ª»»£¬Ê£ÏµÄС²¿·ÖÄÚÈÝÔÙ×ö¶¨ÖƵ÷Õû¡£
ÇëÎÊÓÐûÓÐÕâÑùµÄϵͳ£¿
Èç¹ûÓ ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......