The best place to bring up whether a feature would be added would be the
DEV list or by registering an enhancement request on Bugzilla. 

Though, reliance on the order of parameters in a query string runs
counter to the HTML spec, where there is no guarantee in what order a
browser will submit the elements. 

There was a interesting post the other day regarding using a helper
servlet to transform "exta path" type query strings into conventional
query strings. The idea is a non-intrusive extension that would be
backwardly compatible.

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg26530.html

But, AFAIK, someone has to actually write it yet =:o)

If someone did write it, I'd be happy to make it available to the
community, either in the Struts distribution or in the Scaffold package
under Contrib.

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services



"Pedone, Tim" wrote:
> 
> I've got an app that uses the feature of the html:link tag to append
> additional parameters to the url.  Because we are not sure how different
> systems (browsers or proxy servers) will handle long query strings, we want
> to put the least significant parameter at the end of the query string so if
> a browser, or proxy server truncates the string, we will only lose that
> data.
> 
> In order to do this I used a TreeMap to hold my key/value pairs.  The
> problem is that RequestUtils.computeParameters() uses the copy constructor
> HashMap(Map) so my sorted Map gets copied into an unsorted Map.  I was
> thinking about changing that method to use clone() instead so that the class
> of Map that is passed in is preserved.
> 
> I don't want to use a "custom" version of Struts however so I wanted to know
> if a change like this would have any chance at getting into the 1.1 release.
> 
> Thanks,
> 
> Tim Pedone
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to