my dog learned polymorphism
The moose likes Servlets and the fly likes Case sensitivity in JRun Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Case sensitivity in JRun" Watch "Case sensitivity in JRun" New topic

Case sensitivity in JRun

Thomas Goorden
Ranch Hand

Joined: Aug 15, 2001
Posts: 39
Would it be possible to make the URL mapping that JRun 4 uses to it's web-application case-insensitive?
In essence making
map to the same web-app as
for example.
I have been looking for either a case-insensitivity switch, as well as defining multiple mappings for one web-app, but neither search has been succesfull.
[ July 23, 2002: Message edited by: Thomas Goorden ]
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

The Servlet 2.3 specification requires Servlet Mapping to be case-sensitive.
SRV 11.1 Use of URL path
The container must use case-sensitive string comparisons for matching

With that in mind -- I would hope JRun doesn't allow you to have things insensitive -- you would be unable to port your app easily to a compliant J2EE server.
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
JRun docs on servlet mappings.
I agree. Here's the link:
subject: Case sensitivity in JRun
It's not a secret anymore!