Changing parameters after bind in Struts 2

后端 未结 2 527
忘了有多久
忘了有多久 2020-12-03 19:34

I have an action that receives some parameters from user (e.g. date). This action produces many different reports, so it has many different methods. I need to tune

2条回答
  •  猫巷女王i
    2020-12-03 20:25

    Use the

    
    

    If you are using the Convention Plugin apply it on action

    @Action(value="action1", interceptorRefs=@InterceptorRef("paramsPrepareParamsStack"))
    

提交回复
热议问题