jsp添加數據時,中文變問號

在hibernate.cfg.xml中添加 <property name="connection.useUnicode">true</property>    <property name="connection.characterEncoding">UTF-8</property>  這樣就解決了
相關文章
相關標籤/搜索