Re: Migration from 6 to 7 and form class

2025-04-10 Thread Prasanth
Looks like I have to annotate the get method rather than the set method when there is a form class for an action. Also I had to change the depth to 2 when I have an array list in the form class. Thanks, Prasanth On 4/10/25 11:08 AM, Prasanth Pasala wrote: Hi, I am migrating a project from St

Migration from 6 to 7 and form class

2025-04-10 Thread Prasanth Pasala
Hi, I am migrating a project from Struts 6.7.4 to 7.0.3. We have a form where the form fields are as show below, the reallocation form class is added to the struts.allowlist.classes so no warnings about it in the log. The setReallocationForm is also tagged with StrutsParameter. The set method is