String head="http://...:5000/index.aspx?";
String first = "first=";
String firstvalue = URLEncoder.encode( "8388" );
String second = "second=";
String secondvalue = URLEncoder.encode( "2004-07-12 12:12:12" );
String third = "third";
String thiredValue = URLEncoder.encode( "www" );header = head + first + "&" + firstvalue
+ second + "&" + secondvalue
+ third + "&" + thirdvalue;也就是值需要encode。
String first = "first=";
String firstvalue = URLEncoder.encode( "8388" );
String second = "second=";
String secondvalue = URLEncoder.encode( "2004-07-12 12:12:12" );
String third = "third";
String thiredValue = URLEncoder.encode( "www" );header = head + first + "&" + firstvalue
+ second + "&" + secondvalue
+ third + "&" + thirdvalue;也就是值需要encode。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货