Re: [Simpleweb-Support] Re: Multi-value parameters
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2005-12-22 21:09:37
|
Hi Andrew,
Sure, I can add this back (you could simply cut and
paste from a previous release). The reason for the
change was to make the parameters editable via the
java.util.Map. Previously parameters were read only,
however I find that it can be very useful to add
parameters to the request and either forward it to
another Service or redirect it else where. Also, its
nice to be able to use the parameters with the
collections framework.
Niall
--- Andrew Bunner <an...@ro...> wrote:
> Hi Niall,
>
> Was there a technical reason for removing support
> for multi-value
> parameters? I don't want to go back to an earlier
> version of
> SimpleWeb, but that sure feature would be handy. I'm
> porting some
> Servlets into SimpleWeb and I used to have
> multi-value parameters
> (via getParameterValues). Without multi-value
> parameters, I'll have
> to change my client code (that calls my Servlets) to
> do some kind of
> single-key-with-values-separated-by-delimiters
> scheme. Which just
> doesn't feel right.
>
> Any chance I could talk you into putting this
> feature back in :-)
>
> -- Andrew
>
> On Dec 21, 2005, at 8:40 PM, simpleweb-support-
> re...@li... wrote:
>
>
> > Date: Wed, 21 Dec 2005 14:02:18 -0800 (PST)
> > From: Niall Gallagher <gal...@ya...>
> > Subject: Re: [Simpleweb-Support] Multi-value
> parameters
> > To: sim...@li...
> > Reply-To: sim...@li...
> >
> > Hi Andrew,
> >
> > It did have multivalue parameters via
> > Parameters.getParameters() up to about a month
> ago.
> > However I removed this feature, now only the POST
> > parameter is available from the
> Request.getParameters.
> > If you want the query parameters then you need to
> > parse the URI. I may add this feature back in the
> next
> > release....?
> >
> > Niall
> >
> > --- Andrew Bunner <an...@ro...> wrote:
> >
> >> Hi there,
> >>
> >> I'm new to simpleweb and... so far so good,
> but
> >> it's missing one
> >> feature from the Servlet API that I like. That
> is,
> >> on Servlets, you
> >> can say:
> >>
> >> String[] paramValuesForThisName =
> >> request.getParameterValues
> >> ("paramName");
> >>
> >> In simpleweb, there seems to be a one-key to
> >> one-value mapping for
> >> parameters in the request. So I guess this is a
> >> feature request.
> >> Niall, any plans to allow multi-value parameters?
> >>
> >> -- Andrew
> >>
> >> Andrew Bunner
> >> Director of Engineering, Rojo Networks, Inc.
> >> an...@ro...
> >> P: 415-848-2444
> >> Please visit http://www.rojo.com/ to start your
> FREE
> >> Rojo account
> >>
> >>
> >>
> >>
> >>
> >>
> >
>
-------------------------------------------------------
> >> This SF.net email is sponsored by: Splunk Inc. Do
> >> you grep through log files
> >> for problems? Stop! Download the new AJAX
> search
> >> engine that makes
> >> searching your log files as easy as surfing the
> >> web. DOWNLOAD SPLUNK!
> >>
> >
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> >> _______________________________________________
> >> Simpleweb-Support mailing list
> >> Sim...@li...
> >>
> >
>
https://lists.sourceforge.net/lists/listinfo/simpleweb-support
> >>
> >
> >
> > Niall Gallagher
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
> >
> > --__--__--
> >
> > _______________________________________________
> > Simpleweb-Support mailing list
> > Sim...@li...
> >
>
https://lists.sourceforge.net/lists/listinfo/simpleweb-support
> >
> >
> > End of Simpleweb-Support Digest
>
>
> Andrew Bunner
> Director of Engineering, Rojo Networks, Inc.
> an...@ro...
> P: 415-848-2444
> Please visit http://www.rojo.com/ to start your FREE
> Rojo account
>
>
>
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web. DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Simpleweb-Support mailing list
> Sim...@li...
>
https://lists.sourceforge.net/lists/listinfo/simpleweb-support
>
Niall Gallagher
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com
|