My impression:  different Sun developers, and evolving or late standards.  You can see 
this throughout the language.  Many method names don't adhere to Sun's own recommended 
naming standard.
Another example: the "Referer" header name is misspelled, and still used!

cheers


-----------------------
I'm curious what the rationale was for certain collection return types in some
servlet (2.3) specification methods.

All of the ones I found in the spec return Enumeration, except for one, which
returns an array of String.  What was the rationale for the one oddball?  I can
see that all the others get a list of "names" and the odd one returns a list of
"values", but I don't see how that would make a difference.

These are the ones I found (I may have missed some):

Enumeration ServletRequest.getAttributeNames()
Enumeration ServletRequest.getParameterNames()
Enumeration ServletConfig.getInitParameterNames()
Enumeration HttpServletRequest.getHeaderNames()

String[] ServletRequest.getParameterValues()

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to