Jsp/Resin亂碼

jsp頁面:
<meta http-equiv="Content-Language" content="zh-cn">

 

 

Servlet:

request.setCharacterEncoding("UTF-8");

 

 

Hiberante.cfg.xml:
  <property name="connection.useUnicode">true</property>
  <property name="connection.characterEncoding">UTF-8</property>  

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章