Re: Questions about migrating to Struts 7.0
Lukasz Lenart <[email protected]> Wed, 2 Apr 2025 12:57:17 +0200
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkPsVFLpjP4+X3TMwpH2u+i89Z58bnytBnz3=uNTHTSTZw@mail.gmail.com> |
śr., 2 kwi 2025 o 12:29 Shivam Agrahari <[email protected]> napisał(a): > I am in the process of upgrading a Java application from Struts 6.7.4 to > Struts 7.0.3. I've made the necessary changes as per the migration guide, > such as updating javax to jakarta. However, when I submit the user ID and > password, they are not being accessed in the action class. Additionally, I > have used the @StrutsParameter annotation on every setter in the bean > class. Could you please suggest any necessary changes to resolve this issue? I would suggest increasing log level to debug and enabling devMode - running locally should show some warnings. Also take a look on allowlist capability as may need to expose some classes/packages https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=293046977#Struts6.x.xto7.x.xmigration-OGNLallowlistcapability Cheers Łukasz