• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Is Tomcat4 in Win2k Case Sensitive?

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it's case-sensitive. I never downloaded a tomcat distribution that had folder names in caps though.
 
Saloon Keeper
Posts: 23274
158
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic