Re: Questions about migrating to Struts 7.0

2025-04-03 Thread Lukasz Lenart
czw., 3 kwi 2025 o 12:24 Shivam Agrahari napisał(a): > I have enabled dev mode and also log level to debug but there is no error > being displayed. Hard to guess with having no information from your side. Could you post your action with annotation on setters? Regards Łukasz ---

Re: Questions about migrating to Struts 7.0

2025-04-03 Thread Shivam Agrahari
Hi, I have enabled dev mode and also log level to debug but there is no error being displayed. Regards, Shivam On Wed, Apr 2, 2025 at 4:29 PM Lukasz Lenart wrote: > śr., 2 kwi 2025 o 12:29 Shivam Agrahari > napisał(a): > > I am in the process of upgrading a Java application from Struts 6.7.4

Re: Questions about migrating to Struts 7.0

2025-04-02 Thread Lukasz Lenart
śr., 2 kwi 2025 o 12:29 Shivam Agrahari 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 ar

Re: Questions about migrating to Struts 7.0

2025-04-02 Thread Shivam Agrahari
Hi, 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,

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Lukasz Lenart
wt., 11 mar 2025 o 16:09 Nate Kerkhofs napisał(a): > One thing I'm wondering about is the StrutsParameter annotation that now > needs to be added to all getters and setters that need to be accessed from > the OGNL context. We have a number of Actions where we have getters and > setters for POJO

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Prasanth
I have used it for creating links to an action as below. I don't have namespace here as this action is in the namespace /, which is defined in the struts.xml. You can group actions into different namespaces using the package element. In the below example the request context is added to the url t

Re: Questions about migrating to Struts 7.0

2025-03-11 Thread Wolfgang Knauf
Hi Nate, about "@StrutsParameter" and POJOs: you can set the "depth" attribute. A value of "1" means that all properties of the POJO can be set. Level 2 would set properties of classes of properties of the POJO and so on. @StrutsParameter(depth = 1) public MyPoJo getPojo() { ... } I don't k

Questions about migrating to Struts 7.0

2025-03-11 Thread Nate Kerkhofs
Hi, I'm analyzing the security changes for a migration from Struts 6.3 to Struts 7.0. One thing I'm wondering about is the StrutsParameter annotation that now needs to be added to all getters and setters that need to be accessed from the OGNL context. We have a number of Actions where we have