window.showModalDialog 在glassfish3下乱码

阅读更多

window.showModalDialog 在glassfish3下乱码

 

解决办法 在sub(son) jsp的page加上如下代码,就好了,action 中不需要转码

<%@

page language = "java" errorPage = "/error.jsp" pageEncoding = "UTF-8"

 

contentType="text/html;charset=utf-8"%>

 

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

 

page language = "java" errorPage = "/error.jsp" pageEncoding = "UTF-8"

 

contentType="text/html;charset=utf-8"%>

 

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"

 

contentType="text/html;charset=utf-8"%>

 

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

 

 

 

你可能感兴趣的:(glassfish,java)