On Thu, 22 Apr 1999, James Duncan Davidson wrote:
> > This is all well and good, but it leaves a crucial detail
> > undefined. The issue is, which source should getParameterValue()
> > -- i.e. the singular version, not getParameterValues() -- get it's
> > return value from? The docs say that it returns the value that
> > would be in the zero-th position of the array that would be
> > returned by getParameterValues(), but that still begs the
> > question. Which source should have priority (in other words, show
> > up first in the arrays)? Or should this be a configuration
> > setting on the servlet engine?
>
> I don't think we hammered it in expert group discussions, but in the
> JSDK, we've implemented so that the ordering is GET, then POST --
> and this is the way that the spec will be moving for Servlet/NG.
>
> So if I've got a query string ?foo=bar&bap=baz and post data of
> foo=joy&rog=nope, the parameter set would look like:
>
> foo = {bar, joy}
> bap = {baz}
> rog = {nope)
>
> Hope that helps
Under this proposal, will it be possible to distinguish values that
came via GET vs. those that came from POST?
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
___________________________________________________________________________
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