Parameter “method” not working (Struts 1)

后端 未结 3 1781
情深已故
情深已故 2021-01-25 18:37

I have the following action declared in my struts.xml:

    

        
3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-25 19:00

    Please first make sure that your action extends DispatchAction. You probably should not override the execute method in that class since that method is responsible for extracting the request parameter and invoking the corresponding method. If you override execute this logic will no longer execute.

提交回复
热议问题