摘要: 方法1:url="xxx.jsp?id="+java.net.URLEncoder.encode("中文", "UTF-8") 在这里,我们要用java.net.URLEncoder.encode("中文", "UTF-8") 接收时,我们用 String inf=request.getParameter("id"); inf= new String(inf.getBytes("iso-8859-1"),"UTF-8"); 方法2:js 阅读全文
posted @ 2010-11-03 10:03 java程序代码 阅读(232) 评论(0) 推荐(0)