This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes Url case sensitive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Url case sensitive" Watch "Url case sensitive" New topic
Author

Url case sensitive

tony lu
Greenhorn

Joined: Dec 19, 2000
Posts: 15
I am developing one web site in WEGlogic 5.1.
Now I have one problem, I don't know how to solve the "url case sensitive", you see, it does not make sense that URL is case sensitive.
Is there someone who can help me? I am appriciate that if someone show me a example.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17151
    
  27

That's because you're thinking only of the Windows world. In the Unix world, upper and lower case are almost ALWAYS distinct. This carries over into the Java world - a file named "myclass.class" cannot be used to resolve a call for Java class "Myclass" - even under Windows, it HAS to be named "Myclass.class".
WebLogic isn't the only web server that propagates this distinction. Apache, the most popular web server in use, also does this. Therefore, "http://www.mousetech.com/ejbwizard.html" is NOT the same URL as "http://www.mousetech.com/EJBWizard.html".
Personally, I find case-sensitivity to be a pain, but that's life.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Url case sensitive
 
It's not a secret anymore!