request.getParameter() in JSP misinterpreting foreign characters

2007-02-19 Thread Ramez Ghazzaoui
Hi, Back in May 2006, I had trouble Configuring Tomcat HTTP server to generate proper links for non-English file names in a Directory Listing. Mr. Mark Thomas proposed a solution that worked: He told me to set URIEncoding=UTF-8 in the connector (presumably in server.xml). This fixed the

Re: request.getParameter() in JSP misinterpreting foreign characters

2007-02-19 Thread Ramez Ghazzaoui
Markus Schönhaber wrote: Ramez Ghazzaoui wrote: Today I realized that this very solution has broken the Java request.getParameter() method in JSP. Now, with the URIEncoding set to UTF-8, this Java method is misinterpreting non-English characters. When I invoke from the browser the following

Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-23 Thread Ramez Ghazzaoui
. -- Len Popp [EMAIL PROTECTED] http://www.lmp.dyndns.org/ On 10/21/06, Ramez Ghazzaoui [EMAIL PROTECTED] wrote: So the problem's origin is my unusual port assignment. Thank you Chuck. Case closed :-) -Ramez Caldarale, Charles R wrote: From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED

Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-21 Thread Ramez Ghazzaoui
So the problem's origin is my unusual port assignment. Thank you Chuck. Case closed :-) -Ramez Caldarale, Charles R wrote: From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED] Subject: Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server I

Re: Eliminating the need for a trailing slash in accessing sub-directoryresourceson a Tomcat HTTP server

2006-10-21 Thread Ramez Ghazzaoui
Nice observation, champ! I still don't understand why Tomcat feels the need to send the 302 resubmit request when in fact it knows exactly what the browser's request is. Cheers, -Ramez Len Popp wrote: Note that this problem only happens with port 443. With any other port, IE6 correctly

Eliminating the need for a trailing slash in accessing sub-directory resources on a Tomcat HTTP server

2006-10-20 Thread Ramez Ghazzaoui
Hi, My Tomcat 5.5 installation requires that you enter a trailing slash at the end of your URL if it doesn't end with a filename. For example, to reach a directory listing, or other non-file resource, you must put a trailing slash after that directory name. Is there a way to configure tomcat so

Re: Eliminating the need for a trailing slash in accessing sub-directoryresources on a Tomcat HTTP server

2006-10-20 Thread Ramez Ghazzaoui
://ghazzaoui.org:443/mp3 The first one works because it has a trailing slash. The second one doesn't work. In IE7, they both work. Funny. (Note: I use port # 443 to serve HTTP because my ISP blocks servers on port 80) -Ramez Caldarale, Charles R wrote: From: Ramez Ghazzaoui [mailto:[EMAIL PROTECTED

Configuring Tomcat HTTP server to generate proper links for non-English file names in a Directory Listing

2006-05-28 Thread Ramez Ghazzaoui
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

How do I configure Tomcast HTTP server to generate working links for French file names in Tomcat Directory Listing?

2006-05-26 Thread Ramez Ghazzaoui
Hi, I have exposed a specific Windows file system folder on my Tomcat HTTP 5.5.9 server box's local hard drive so I can access files in that folder remotely. For simplicity, let us say I've inserted the following Context in my server.xml: Context path=/music docBase=c:\my_cds\music\