tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Charset configurations for JSP pages
Date Sun, 04 Dec 2005 00:33:34 GMT

"Mieke Banderas" <miekebanderas@gamebox.net> wrote in message 
news:20051203014115.496@smtprelay1.telia.com...
> Mark Thomas said:
>>Mieke Banderas wrote:
>>> Mark Thomas said:
>>>>Read the spec.
>>> Where in the spec?
>>
>>"JSP.4 Internationalization Issues" would seem to be a blinding
>>obvious place to start.
>
> I didn't find anything obvious in that section. It says:
> "A JSP page uses a character encoding.  The encoding can be described
> explicitly using the pageEncoding attribute of the page directive.  The
> character  encoding defaults to the encoding indicated in the contentType
> attribute of the  page directive if it is given, or to ISO-8859-1 
> otherwise."
> Which is more or less what T P already had got down in the question.
>
> So it seems there were something else going on, unless I miss something.
> Is Tomcat 3, 4 and 5 very different in the settings that need to be done?
> I still use 3 and 4.
>

Tomcat 3 is very different from 4 & 5.  In particular, internationalization 
isn't very well supported in JSP 1.1/Servlet 2.2.  Tomcat 3.3.x has some 
specialized extensions to work around this, but at the end of the day it's 
an outdated spec problem.

> Some links list searchers may appreciate:
> The JSP 1.1, 1.2 (the one I needed myself) and 2.0 specifications are
> downloadable (after reg) from Sun here:
> <http://java.sun.com/products/jsp/reference/api/index.html>
> (Scroll down to the specs)
> and JSP documentation is here:
> <http://java.sun.com/products/jsp/docs.html>
>
> While not JSP specific, I've found this useful link page of Java
> Internationalization oriented writings as well:
> "i18ngurus.com, the open internationalization resources directory" -> /
> Programming/Java
> <http://www.i18ngurus.com/docs/984813264.html>
>
> and O'Reilly released the book "Java Internationalization" in 2001
> <http://www.javainternationalization.com/blog/> 




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


Mime
View raw message