To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Changing the default page encoding /
characterset for JSP pages
Beats me. You're right that I was wrong in saying you could put the
content type in that element, but it seems to me that the encoding
should
..
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Dane
Sent: Wednesday, October 03, 2007 9:47 AM
To: General Discussion for the Resin application server
Subject: Re: [Resin-interest] Changing the default page encoding /
characterset for JSP
Hi,
We want to convert the default page encoding for JSP pages to UTF-8.
Is there a way to change the default page encoding for JSP pages in the
resin.conf or web.xml files for a Web application?
We have successfully done this for a specific page if we include the
following directive in the
you can do this in the deployment descriptor, or presumably in the
resin config file as well. in the deployment descriptor, it'd look
something like
jsp-config
jsp-property-group
url-pattern*.jsp/url-pattern
page-encodingtext/html; charset=UTF-8/page-encoding