当前位置: 代码迷 >> Web前端 >> window.showModalDialog 在glassfish3上乱码
  详细解决方案

window.showModalDialog 在glassfish3上乱码

热度:901   发布时间:2012-11-23 00:03:43.0
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" />

?

?

?

  相关解决方案