Glassfish encoding

前端 未结 3 1649
野的像风
野的像风 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:33

    Have you tried using glassfish-web.xml instead of sun-web.xml ?

    To change default Glassfish POST fields encoding, I put this to WEB-INF/glassfish-web.xml, and it worked (I use glassfish 3.1.2):

    
    
        
    
    

    I'm not sure if it will help you, but may help other people having the same problem as me.

提交回复
热议问题