This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Is Tomcat4 in Win2k Case Sensitive?" Watch "Is Tomcat4 in Win2k Case Sensitive?" New topic
Author

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="http://www.mycgiserver.com/~nan111/index.html" target="_blank" rel="nofollow">www.mycgiserver.com/~nan111/index.html</a>
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
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: 16158
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Is Tomcat4 in Win2k Case Sensitive?