-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Abid,
On 12/21/2009 8:54 AM, Abid Hussain wrote: > [The cause was] a class called AbstractResourceProcessor from the Apache > Shale > framework. When requesting a resource which is actually located inside a > jar, it sets the last-modified header using > > java.text.SimpleDateFormat format = new SimpleDateFormat("EEE, dd MMM > yyyy HH:mm:ss zzz"); > > without specifying any locale. This naturally results in a date > formatted according to the server's locale. > > So it seems I'll have to use a filter which converts the date back to > the englisch locale format. Also, I'd file a bug against Apache Shale so they can get that fixed. In the meantime, I'd run my server in en_US.UTF-8 mode and forget trying to re-write header values on the fly. Just wait for a fix from Shale for that. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksvz0YACgkQ9CaO5/Lv0PCQHQCbBJmMMQnDR33BtB+G6aZlyN0r NHUAnRzobzVIhruSxbK+G/v5KYCAtudm =P54R -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org