aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 16303
    
  21

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