File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Is Tomcat4 in Win2k Case Sensitive? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Is Tomcat4 in Win2k Case Sensitive?" Watch "Is Tomcat4 in Win2k Case Sensitive?" New topic

Is Tomcat4 in Win2k Case Sensitive?

nan sh
Ranch Hand

Joined: Jan 05, 2001
Posts: 167
I have installed tomcat4 in mine Win2k for couple days and everything was fine.
From yesterday I found tomcat4 did work, not even the homepage(http://localhost:8080/index.html), and I tracked back and found it is case sensitive!!
all the tomcat4 folders came from downlaod in upper case and all source are in lower case( like http://localhost:8080/examples/jsp/index.html ), to let thing works, I have to rename those folders to lower case one by one!
Anybody experience that? is this because I toughed some configration unconsciously

Have you tried this Mock Exam Testing Engine yet?<br /><a href="" target="_blank" rel="nofollow"></a>
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 567
Yes it's case-sensitive. I never downloaded a tomcat distribution that had folder names in caps though.

I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Whenever you work with Java, ALWAYS be case-sensitive. It can not only save you some puzzlement, but if you ever need to run on a fully case-sensitive platform - for example, management got fed up with Code Red and ordered a switch to BSD - you'll have one less item to convert.
For the same reason, I recommend you always specify filepaths in "Unix" format. Java understands how to accomodate Windows, so there's less editing required there as well. Plus, in program code, the backslash character is an escape character, and I can't begin to count them number of times I've burned myself because of that.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Is Tomcat4 in Win2k Case Sensitive?
It's not a secret anymore!