Re: @StrutsParameter

Lukasz Lenart <[email protected]> Tue, 14 Oct 2025 17:37:21 +0200
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <CAMopvkNcOdLE3SGEgr7c8BdmQHZnYDxOH=-4yumcqa_6Ce-oOg@mail.gmail.com>
czw., 9 pa=C5=BA 2025 o 16:57 Prasanth <[email protected]> napisa=
=C5=82(a):
>
> The contacts variable is an ArrayList in the action class. All selected c=
ontacts are correctly getting set in the action class contacts variable.
>
> Do you think depending on how the variable is defined in jsp we have to s=
et the parameter on get/set?

No, this is a special case of how CheckboxInterceptor handles
variables and you must annotate setter and getter in this case. In any
other case with List/Maps just getter must be annotated

Cheers
=C5=81ukasz