Reputation: 1
WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /web, because request parameters have already been read, or ServletRequest.getReader() has already been called...
`
Upvotes: 0
Views: 171
Reputation: 303
In your glassfish-web.xml(create it if it doesn't exist), add <parameter-encoding default-charset="UTF-8"/>
within <glassfish-web-app error-url="">
like this:
<glassfish-web-app error-url="">
<parameter-encoding default-charset="UTF-8"/>
</glassfish-web-app>
Upvotes: 3