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!

jsp:include and encoding

843838Apr 13 2007 — edited Apr 16 2007
jsp:include will not preserve the encoding of the file being included if the encoding is different than the default container encoding. Is there any solution for this other than changing the container encoding?

We need to jsp:include utf-8 encoded html pages but when they are included they are encoded as something else and look like so much garbage when displayed.

There are many posts about this situation on this and other discussion groups but I have yet to see a solution other than changing the default encoding which we cannot do because we share our Tomcat instance with applications that do not want to change the encoding.

Thanks for any ideas,
-=bill
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2007
Added on Apr 13 2007
4 comments
1,697 views