File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Url case sensitive" Watch "Url case sensitive" New topic

Url case sensitive

tony lu

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: 17410

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, "" is NOT the same URL as "".
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:
subject: Url case sensitive
It's not a secret anymore!