hibernate 中文乱码处理

来源:互联网 发布:java整形转换成字符串 编辑:程序博客网 时间:2024/05/17 10:43

struts,xml中的处理

<constant name="struts.i18n.encoding" value="gb2312" />

hibernate.cfg.xml中的处理

加入一句 乱码处理的话