URL编码、解码
@Test public void test() throws UnsupportedEncodingException { String url = "%3E%3C"; // URL解码 String str = URLDecoder.decode(url, "UTF-8"); // URL编码 String str1 = URLEncoder.encode(str, "UTF-8"); System.out.println(str); System.out.println(str1); }