>>> Ganesh Oak <[EMAIL PROTECTED]> 08-Mar-00 5:09:03 PM >>>

>I noticed that the two implement the getParameter of
HttpServletRequest
>class in a different manner. When a given parameter is present
multiple
>times in a request, JWS returns all the values seperating them by a
comma
>whereas ServletExec returns the first value it finds.

This is not correct as per the API spec.


>What is the correct implementation?

It should just return the first value.

See javax.servlet.ServletRequest.getParameter() for exact
specification.



Nic Ferrier

___________________________________________________________________________
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