File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes filename probem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "filename probem" Watch "filename probem" New topic
Author

filename probem

Vasudevan Gopalan
Ranch Hand

Joined: Aug 29, 2003
Posts: 67
Hi all,
I have a file called "Response.jsp" .If i invoke it with 'R' as caps it is retrieving me the file.If i type 'response.jsp', tomcat is not locating the file.Is there any option in tomcat to remove the casesensitive option.

Regards
Vasu
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
I know of no way to make Tomcat ignore case mismatch problems.
Christopher Zinn
Greenhorn

Joined: Nov 03, 2003
Posts: 13
I believe in the Context element, you can add this (As far as I know this works only with Tomcat running on Windows)
<Resources className="org.apache.naming.resources.FileDirContext"
caseSensitive="false">
</Resources>
You can find the documentation for this tag here:
Tomcat Resource Doc
 
 
subject: filename probem
 
Threads others viewed
Tomcat as a service
I18N,NullPointerException
Catch the javascript button pressed event
How to pass Arraylist to the JSP from the Action Class
getting the URL for the calling jsp page?
developer file tools