原来的程序乱码,在resin中的 $RESIN_ROOT/conf/app-default.xml文件中修改如下,加入UTF-8编码。
<web-app-default>
中间加入
<character-encoding>UTF-8</character-encoding>
重启成功。
本文介绍了解决Resin服务器中出现的乱码问题的方法。通过在$RESIN_ROOT/conf/app-default.xml文件中的<web-app-default>部分添加<character-encoding>UTF-8</character-encoding>配置项,并重启服务器来实现字符集的正确设置。
原来的程序乱码,在resin中的 $RESIN_ROOT/conf/app-default.xml文件中修改如下,加入UTF-8编码。
<web-app-default>
中间加入
<character-encoding>UTF-8</character-encoding>
重启成功。

被折叠的 条评论
为什么被折叠?