tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Montoro <ivan_montoro_...@yahoo.es>
Subject RE: JSP include directive and UTF-8 files in Tomcat 5
Date Mon, 05 Apr 2004 17:32:37 GMT
The fact is that all JSP pages are created in the
work/ directory in UTF-8, at least with Tomcat 5.0.19
(javaEncoding is UTF-8 by default). pageEncoding
controls the way Tomcat reads the source file, but
it's useless with the <%@include directive. And, of
course, there can be only one <%@ page directive, at
the "root" JSP page.

By the way, I cannot find the Class who controls this
tag at cvs.apache.org (this is a gigantic project!),
any clues?

 --- Mike Curwen <gb_dev@gb-im.com> wrote: > So:
>  <%@ page pageEncoding="utf-8" %>
>  
> would be the correct way to handle the case of
> including files with
> utf-8 characters, except Tomcat ignores
> pageEncoding? (for all files?
> for non-JSP files?)
>  
> 
> 
> > -----Original Message-----
> > From: Ivan Montoro
> [mailto:ivan_montoro_ten@yahoo.es] 
> > Sent: Monday, April 05, 2004 12:07 PM
> > To: Tomcat Users List
> > Subject: RE: JSP include directive and UTF-8 files
> in Tomcat 5
> > 
> > 
> > Hi Mike,
> > 
> > Nope, pageEncoding does not work either. JSP
> syntax
> > 1.2
> >
>
(http://java.sun.com/products/jsp/syntax/1.2/syntaxref1210.htm
> > l#1001361)
> > stands that this is the "page source character
> > encoding", and javaEncoding at web.xml controls
> the
> > encoding for resulting .java files at work/
> directory.
> > I'm afraid this is a bug in the <%@include JSP
> > implementation, opening all files in ISO-8859-1.
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>  

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message