This seems to be very common with a very hard to find solution on google.
Finnally after a lot of search I found this link which had the solution.
Place the following in the glassfish-web.xml of the web application.
Finnally after a lot of search I found this link which had the solution.
Place the following in the glassfish-web.xml of the web application.
<parameter-encoding default-charset="UTF-8"/>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1
Servlet 3.0//EN" "http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url=""> <parameter-encoding default-charset="UTF-8"/>
... </glassfish-web-app>