ptor.java:92)
>
> deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeConditional(DefaultActionInvocation.java:311)
>
> deployment.ems.war//org.apache.struts2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:265)
>
> deployment.ems.war//org.apache.struts2.i
.intercept(ActionFileUploadInterceptor.java:151)
deployment.ems.war//org.apache.struts2.DefaultActionInvocation.executeCondition
From: Priyanka Vaddadi
Sent: Friday, May 16, 2025 1:48 PM
To: user@struts.apache.org
Subject: RE: Struts 7 issue while posting the data
Hi
Sorry . I attached incorrect
See
https://struts.apache.org/security/#defining-and-annotating-your-action-parameters
On 5/16/25 4:34 PM, Dave Newton wrote:
On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi
wrote:
Parameter injection for method [getSupplierMgmtSearchData] on Action
[gov.ca.doj.ems.action.CgSupplierMgmtSearch
On Fri, May 16, 2025 at 17:24 Priyanka Vaddadi
wrote:
> Parameter injection for method [getSupplierMgmtSearchData] on Action
> [gov.ca.doj.ems.action.CgSupplierMgmtSearchAction] rejected. Ensure it is
> annotated with @StrutsParameter with an appropriate 'depth'.
Is it? The previous snippet sho
with an appropriate 'depth'.
Thanks and Regards
Priyanka
From: Priyanka Vaddadi
Sent: Friday, May 16, 2025 11:51 AM
To: user@struts.apache.org
Subject: RE: Struts 7 issue while posting the data
Hi
I tried using depth = 1 as below
public final class CgSupplierMgmtSearchAction e
The class you have listed below is CgSupplierMgmtSearchAction while the error
message is for another class.
Parameter injection for method [getFundraiserMgmtSearchData] on Action
[gov.ca.doj.ems.action.CgFundraiserMgmtSearchAction] rejected
-Prasanth
On 5/16/25 1:51 PM, Priyanka Vaddadi wrot
Hi
I tried using depth = 1 as below
public final class CgSupplierMgmtSearchAction extends EmsWebAction implements
ValidationAware {
private SupplierSearchData supplierMgmtSearchData;
@StrutsParameter(depth = 1)
public void setSupplierMgmtSearchData(SupplierSearchData
supplierMgmtSearchData)
You have to annotate the set method for that class in your action with
@StrutsParameter(depth=1).
int depth
The depth to which parameter injection is permitted, where a depth of 0 only allows setters/fields directly on the action class. Setting within a POJO on an ac
8 matches
Mail list logo