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
Have you tried using glassfish-web.xml instead of sun-web.xml ?
glassfish-web.xml
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):
WEB-INF/glassfish-web.xml
I'm not sure if it will help you, but may help other people having the same problem as me.