[Simpleweb-Support] Re: Simpleweb-Support digest, Vol 1 #129 - 2 msgs
Brought to you by:
niallg
|
From: Andrew B. <an...@ro...> - 2005-12-27 19:17:07
|
I'd rather not work with a modified code-base; doing that makes it more difficult for me to benefit from the new fixes and features of SimpleWeb 2.8 :-) I agree with your point about using parameters within the collection framework. What about adding a method with a signature like this? Collection<String> getParameterValues(paramName) Then you'll have done the servlet API one better with a strongly- typed, modifiable collection. -- Andrew > > Date: Thu, 22 Dec 2005 13:09:28 -0800 (PST) > From: Niall Gallagher <gal...@ya...> > Subject: Re: [Simpleweb-Support] Re: Multi-value parameters > To: sim...@li... > Reply-To: sim...@li... > > 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 |