Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Url case sensitive

 
tony lu
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18025
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic