I have this line of code:
response.setCharacterEncoding("UTF-8");
I'm getting this error:
The method setCharacterEncoding(String) is undefined for the type HttpServletResponse
Eclipse suggests to cast the response
to request
which is some thing I don't want to. Can any one help me fix this, please?