Google Answers Logo
View Question
 
Q: Encoding in Tomcat ( No Answer,   4 Comments )
Question  
Subject: Encoding in Tomcat
Category: Computers > Programming
Asked by: mauretto79-ga
List Price: $20.00
Posted: 23 Mar 2004 02:04 PST
Expires: 25 Mar 2004 05:43 PST
Question ID: 319495
I've this problem:
In my web application, i've a directory called "ùòèìà"
If i use Mozilla i see the directory, instead on Internet Explorer it
return this error:
HTTP Status 404 /ùò�ìà /index.jsp

This is part of my localhost_access_log.2004-03-23.txt:

Mozilla Firefox on Linux
192.168.88.100 - - [23/Mar/2004:10:30:18 +0100] "GET
/test/%F9%F2%E8%EC%E0/index.jsp HTTP/1.1" 200 60

IE on WIN
192.168.88.159 - - [23/Mar/2004:10:31:44 +0100] "GET
/test/%C3%B9%C3%B2%C3%A8%C3%AC%C3%A0/index.jsp HTTP/1.1" 404 728

How can i solve it?

Thanks
Answer  
There is no answer at this time.

Comments  
Subject: Re: Encoding in Tomcat
From: morkeld-ga on 23 Mar 2004 05:59 PST
 
If, under FireFox this works "/test/%F9%F2%E8%EC%E0/index.jsp", have
you tried this under IE?

Just looking at yours logs it looks like:

1.) IE encodes "ùòèìà" into "%C3%B9%C3%B2%C3%A8%C3%AC%C3%A0"
2.) FireFox encodes the same into "%F9%F2%E8%EC%E0"

So, why not try this under IE (the encoding that FireFox uses).

Good luck :)
Subject: Re: Encoding in Tomcat
From: mauretto79-ga on 23 Mar 2004 06:34 PST
 
This is not my real problem, it's only a simplification.
I need that tomcat response in appropriate way even if i write "ùòèìà" 

My real problem is with Webdav (It'snt able to copy directory
continent òàèòì in webdav) from Windows and OpenOffice

Thanks
Subject: Re: Encoding in Tomcat
From: goo_gle_ga-ga on 23 Mar 2004 10:22 PST
 
how are you currently encoding the url in the servlet/jsp?
Subject: Re: Encoding in Tomcat
From: mauretto79-ga on 24 Mar 2004 06:10 PST
 
I don't know my encondig. I think UTF-8.
I want a configuration that autoselect the encoding and the decoding of url.

Thanks

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy