Glassfish encoding

前端 未结 3 1658
野的像风
野的像风 2021-02-09 14:54

I\'m using the code in this example example and in the runUpdate() function which i put in a javabean in a web application in Netbeans 6.8 with Glassfish v3. It seems i have an

3条回答
  •  清酒与你
    2021-02-09 15:22

    Are you sure your browser is set to UTF-8. By default most browsers do not display in UTF. Start with the browser and work backwards. Is your datasource storing the data in UTF-8? By default Java is in UTF-8 so I am not sure that GF is your real issue.

提交回复
热议问题