You will need download and configure the i18 International jars (which are
optional) to enable multi-language functionality
Take a look at tomcat-i18n-**.jar item at
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Bon Chance,
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Ramez Ghazzaoui" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Sunday, May 28, 2006 8:51 PM
Subject: Configuring Tomcat HTTP server to generate proper links for
non-English file names in a Directory Listing
Hi,
I am having problems with Tomcat's Directory Listing when files under that
Directory contain non-English characters. I get 404 errors.
I've read the Tomcat documentation, FAQ, etc, and searched the web for a
solution. There is no mention of this problem anywhere.
Here's the exact problem description:
I exposed a specific directory on my disk for publishing to the web
through my Tomcat HTTP 5.5.9 server. For simplicity, let us say I've
inserted the following Context in my server.xml:
<Context path="/music"
docBase="c:\my_cds\music\"
trusted="false"
crossContext="true"
debug="1"
reloadable="true">
</Context>
When I use IE to browse to my http://foobar.org/music/ URL (foobar is
fictitious here), the Directory Listing produced by Tomcat displays
properly. I can click on any filename listed, and if the file's name is
all in English characters then it downloads properly to the client
machine.
However, if I click on a file that contains foreign characters, such as
the ç in filename "Claude François - Quelquefois.mp3", the link does not
function. Specifically, the link produced by Tomcat is:
http://foobar.org/music/Claude%20Fran%C3%A7ois%20-%20Quelquefois.mp3
but unfortunately clicking on it produces a 404 error.
The problem in this example is surely with the %C3%A7 which is a
substitute for 'ç' because if I rename the file on disk to say Francois
(with a plain 'c') and refresh the page in IE, the file becomes
accessible.
Note: With the file name containing the word "François", even if I
manually edit the URL in the address bar and replace the %C3%A7 with ç
it still doesn't work.
How can I make Tomcat properly handle such file names? -- OR -- Is this
a bug in Tomcat?
Thanks.
-Ramez
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]