0
votes

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...

`

1

1 Answers

3
votes

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>