Kevin Gross wrote:
>
> I disagree. I've used getParameter() in my doGet() methods
> successfully for months. Of course, it could be a Servlet
> engine dependant feature...
The original question was about if query string parameters and
message body parameters can be mixed in a POST message, so that
getParameter et al can be used to read parameters from both
sources.
The Servlet API spec doesn't specify this scenario clearly but I
believe James has promised to clarify it in the next rev, with
the clarification being that you should be able to mix and that
if the same parameter name is used in both places it will be
treated as a multi-value parameter. Today this behavior varies
between servlet engines
For the more common case when only one source of parameters is
used, i.e. either the query string for GET or the message body
for POST, getParameter et al can always be used to read parameter
values no matter how they were passed to the servlet.
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
___________________________________________________________________________
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