geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <jga...@gmail.com>
Subject Re: JSP Charset encoding issue
Date Fri, 04 Apr 2008 19:23:24 GMT
Is your Geronimo server running behind Apache httpd server? The
"server" header looks like it's a response from Apache httpd server.
If so, what happens if you connect directly to the Geronimo server?

Jarek

On Fri, Apr 4, 2008 at 3:17 PM, Bill Brown <wbrown@colorfulsoftware.com> wrote:
>
>  Greetings:
>
>  I also want to note that I am using the latest Geronimo 2.1 release and have
>  added starting the server with "-Dfile.encoding=UTF-8" but that doesn't seem
>  to help.
>
>  Thanks for any insight or input for this issue.
>
>  Bill.
>
>
>
>
>  Bill Brown wrote:
>  >
>  > Greetings:
>  >
>  > I am checking the standards compliance for some of my jsp pages that
>  > render as XHTML.  I have run into the issue where my jsp file is encoded
>  > as UTF-8 (according to the eclipse editor) and it includes the <?xml
>  > version="1.0" encoding="UTF-8"?> at the top of the file.  However Firefox
>  > / IE6 and the validator site are reporting that the http-header for
>  > encoding being sent is ISO-8859-1 and so the page breaks for that
>  > validation.  Here is the response header:
>  >
>  > Date: Fri, 04 Apr 2008 18:43:47 GMT
>  > Server: Apache/2.2.4 (Ubuntu) DAV/2 SVN/1.4.4 mod_jk/1.2.23 mod_ssl/2.2.4
>  > OpenSSL/0.9.8e
>  > Vary: Accept-Encoding
>  > Content-Encoding: gzip
>  > Content-Type: text/html;charset=ISO-8859-1
>  > Via: 1.1 127.0.0.1
>  > Keep-Alive: timeout=15, max=100
>  > Connection: Keep-Alive
>  > Transfer-Encoding: chunked
>  >
>  > Is there a setting somewhere in geronimo I can use to set the Content-Type
>  > header to UTF-8 ?
>  >
>  > Thanks for your feedback.
>  > Bill.
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/JSP-Charset-encoding-issue-tp16495245s134p16496129.html
>
>
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message