@StrutsParameter

Prasanth <[email protected]> Thu, 21 Aug 2025 12:18:19 -0500
Newsgroups gmane.comp.jakarta.struts.user
Message-ID <[email protected]>
--------------KkWS50wKbht6cUrjKtDBReKK
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

Is the struts parameter tag supposed to be on setXXX method or getXXX method for a check box list when the argument is Vector/ArrayList?. We have old code that takes the data as a vector, for this we 
have the parameter on the getXXX and it works well. For another action that has ArrayList as parameter we had to move it from the getXXX to setXXX for it to work. We had to annotate the getXXX methods 
when the argument is a map, with depth of 1.

Is Vector handled differently than ArrayList when injecting parameter values?

Thanks,
Prasanth
--------------KkWS50wKbht6cUrjKtDBReKK--