Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Servlet API 2.3 setCharacterEncoding

843842Oct 4 2008 — edited Oct 5 2008
I have been usign setCharacterEncoding method for setting the character encoding of the response. This method is available since 2.4 but for tomcat I now need a alternative way of doing this.

I know oracle provide the following method alternate to setCharacterEncoding in 2.3, but don't want to use that because I need to have support for tomcat 4 etc.

oracle.jsp.util.PublicUtil.setReqCharacterEncoding()

So, is there any alternative way of doing this using api server 2.3?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2008
Added on Oct 4 2008
8 comments
661 views