struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <>
Subject [jira] [Commented] (WW-4205) Omit empty URL parameters
Date Mon, 23 Sep 2013 13:05:17 GMT


Lukasz Lenart commented on WW-4205:

Empty params are valid and if you wan't to drop them actionRedirect result already supports
that, check the docs and information about:

<param name="suppressEmptyParameters">true</param>

Also this is related to WW-4088
> Omit empty URL parameters
> -------------------------
>                 Key: WW-4205
>                 URL:
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Actions
>    Affects Versions:
>            Reporter: Christoph Nenning
>            Priority: Minor
>             Fix For: 2.3.17
>         Attachments: no-empty-paras-in-urls.patch
> Changes DefaultUrlHelper to omit URL parameters when no value is found.
> I would like to have that in the framework as I have often the case that actions have
optional paramters for filtering/searching objects.
> Currently it happens that e.g. redirect URLs contain all those optional parameter names
even when there are no values.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message