Though it may be true that there are not requirements about case insensitivity
in the specification, it would be nice to make the world consistent and all it
would take is for the developers to start using String.compareToIngnoreCase()
instead of String.compareTo(). I would especially like this in the use of the
URL and URI names. Often the end users of our code don't understand why there
has to be a difference between /myapp/servlet/myservlet and
/MYAPP/SERVLET/MYSERVLET.

Robert S. Harper
801.265.8800 ex. 255

> -----Original Message-----
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 23, 2004 2:24 PM
> To: Tomcat Users List
> Subject: RE: getParameter() should be case insensitive?
> 
> 
> Hi,
> 
> >This is, however, contrary to other APIs and even the HTML spec (I
> >believe).  For example, Apache::Request treats parameter names as case
> >insensitive:
> 
> As you noted, the HTML spec doesn't apply to servlet containers, only
> user agents.  What ASP/ASP.NET do is also irrelevant.  The Servlet Spec
[snip]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to