包:java.net.*
使用UIRLEncoder进行编码.比如:
String str = URLEncoder.encode("编码字符串","utf8");
使用URLDecoder进行解码.比如:
String str = URLDecoder.decode("解码字符串","utf8");
包:java.net.*
使用UIRLEncoder进行编码.比如:
String str = URLEncoder.encode("编码字符串","utf8");
使用URLDecoder进行解码.比如:
String str = URLDecoder.decode("解码字符串","utf8");