测试环境:JBoss4.2.3/Flex3.2
Flex中URL:http://localhost:8080/demo/pages.jsp?name=中文参数
JSP端接收:String name = new String(request.getParameter("name").getBytes("ISO8859-1"), "UTF-8");
测试通过!
解决Flex和JSP中文参数乱码问题
最新推荐文章于 2024-09-14 22:25:22 发布
测试环境:JBoss4.2.3/Flex3.2
Flex中URL:http://localhost:8080/demo/pages.jsp?name=中文参数
JSP端接收:String name = new String(request.getParameter("name").getBytes("ISO8859-1"), "UTF-8");
测试通过!