tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: pageEncoding and Jasper
Date Fri, 08 Feb 2002 04:04:19 GMT

----- Original Message -----
From: <yoko@netpotlet.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Thursday, February 07, 2002 7:26 PM
Subject: Re: pageEncoding and Jasper


> From: "Craig R. McClanahan" <craigmcc@apache.org>
> Subject: RE: pageEncoding and Jasper
> Date: Thu, 31 Jan 2002 06:49:39 -0800 (PST)
> Message-ID: <20020131064817.E77425-100000@icarus.apache.org>
>
> > On Thu, 31 Jan 2002, Kevin Jones wrote:
> >
> > > Date: Thu, 31 Jan 2002 10:37:10 -0000
> > > From: Kevin Jones <kevinj@develop.com>
> > > Reply-To: Tomcat Developers List <tomcat-dev@jakarta.apache.org>
> > > To: 'Tomcat Developers List' <tomcat-dev@jakarta.apache.org>
> > > Subject: RE: pageEncoding and Jasper
> > >
> > > So it's only used when compiling the JSP to a servlet?
> >
> > If "it" is the pageEncoding attribute of the <%@ page %> directive, then
> > the answer is yes.
>
> Craig, the answer is "no".
I'd like to think that Craig knows what Tomcat 4.x does ;-)

> The pageEncoding attribute is used to "read" only. Servlet codes
Which is what he said, if you followed the rest of the thread.

> generated from JSP pages are written in UTF-8. You can confirm
> the encoding of generated Servlet codes by a browser (Netscape:
> View -> Character Coding) or a utf-8 enabled editor.
This is controlled by the contentType attribute of the <%@page
...%>directive

> So, the encoding for compile is UTF-8 only.
>
It is true that Jasper (in both 3.x and 4.x branches) generates (by default)
the intermediate .java file as UTF-8 (which causes big problems when you
configure the system to use Jikes :(.
> ---
> Yoko Kamei Harada, Web Studio Ne-Po-Le
> http://www.netpotlet.com/
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message