James Duncan Davidson wrote:
>
> > Isn't "getParameter()" deprecated? I've been using "getParameterValues"
> > for both GET and POST. Works just fine.
>
> At one point it was, then we had a palace coup lead by some of the folks
> in servlet land and it wasn't deprecated anymore as it's a *damn* useful call.
>
> getParameter returns the same value as getParamterValues[0]
Except that if the parameter does not exist, you'll get an error when
attempting getParameterValues[0], while with getParameter you get a null
which you can safely check.
Carlos
___________________________________________________________________________
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