This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 15961
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Url case sensitive
 
Similar Threads
Compile Errors - Head First - GuessGame
JSP JSTL String Replace all ignoring case
WA #1.....word association
Problem with Oracle Thin Driver!!!!!
header names are case sensitive or not