Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HttpServletResponse setCharacterEncoding problem

807580Dec 7 2009 — edited Dec 7 2009
hi all,
i have a problem in setting character encoding of an httpservletresponse.

response is an HttpServletResponse and i am using:
response.setCharacterEncoding("ISO-8859-9");
to set the character encoding. My friend gets no errors doing like this but i have this problem.

The method setCharacterEncoding(String) is undefined for the type HttpServletResponse

how can i solve it, why does it work in my friends computer but not mine?

thank you all...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2010
Added on Dec 7 2009
7 comments
1,960 views