In some applications I have actions with a list member. That may be filled e.g. via checkboxlist. As we use Redirect-After-Post I want all list-elements to be present in redirect URL.
The framework provided ServletRedirectResult uses
which in turn uses
to resolve variables present as parameter values of a redirect result.
Those methods convert the found object into String. When a collection is found just toString() is invoked. That is not quite useful.
I would like to duplicate the URL-parameter-name for each element in the found collection.
Therefore I added new Methods (with javadoc and tests):
and using them in ServletRedirectResult.
URL building itself does already support collections as paramter values.
The problem was just that TextParseUtil forced the collection found on ValueStack into a string.