This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Accessing chinese folder through URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Accessing chinese folder through URL" Watch "Accessing chinese folder through URL" New topic

Accessing chinese folder through URL

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
Hi all

I am running a web application in my chinese locale system . and inside the webapplication folder i have a chinese folder in which i have some images and files to be read . When i directly use the link to display the resources in these folders its not accessible .it gives me 404 error (The Url looks fine with the folder name in chinese but in the response the tomcat is encoding the folder and some ?% are coming saying resource not found)

but if a write a servelet i am able to access the folder and even read the resources

but when i directly try to access them from the url , they are not
accessible .

is there any setting to be done for this in tomcat or is there anyway to over come this ??
I agree. Here's the link:
subject: Accessing chinese folder through URL
Similar Threads
j_security_check and apache and Tomcat
How to restrict access of images folder when application made using JSP
Unable to access Property file
Giving path alias to network folder in server.xml
Accessing jsp's directly