Re: getParameter() should be case insensitive?

2004-09-24 Thread Harry Mantheakis
Dave You had me worried there, for a moment... Surprisingly, the servlet spec is quite clear on this issue: getParameter() is not valid for GET requests (which was totally unexpected). Servlet Spec 2.3, Section SRV.4.1: I read the specs again, and then I realised that you are getting

RE: getParameter() should be case insensitive?

2004-09-24 Thread Shapira, Yoav
[mailto:[EMAIL PROTECTED] Sent: Thursday, September 23, 2004 5:05 PM To: Tomcat Users List Subject: Re: getParameter() should be case insensitive? On Sep 23, 2004, at 3:34 PM, Shapira, Yoav wrote: Hi, I guess the part where I said we didn't have a choice, we must implement the servlet spec

RE: getParameter() should be case insensitive?

2004-09-23 Thread Shapira, Yoav
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

RE: getParameter() should be case insensitive?

2004-09-23 Thread Robert Harper
: 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

RE: getParameter() should be case insensitive?

2004-09-23 Thread Shapira, Yoav
PROTECTED] Sent: Thursday, September 23, 2004 4:31 PM To: 'Tomcat Users List' Subject: RE: getParameter() should be case insensitive? 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

Re: getParameter() should be case insensitive?

2004-09-23 Thread Dave Dribin
On Sep 23, 2004, at 3:34 PM, Shapira, Yoav wrote: Hi, I guess the part where I said we didn't have a choice, we must implement the servlet spec as-is, and if you don't like it contact the expert group, wasn't clear? ;) I hope it is now. Thanks for your input! I guess I was looking for some

Re: getParameter() should be case insensitive?

2004-09-23 Thread Steve Forsyth
If you want to discuss the servlet spec... please take it to the servlet spec group whereever they may be. This forum is for Tomcat specific questions. You already know the answer for how Tomcat deals with the getParameter method. [EMAIL PROTECTED] 09/23/04 02:04PM On Sep 23, 2004, at