Parameter “method” not working (Struts 1)

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

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

    

        
3条回答
  •  无人共我
    2021-01-25 19:08

    First thing is that in html:form action="/updateAccountInfo.do"> you have mentioned updateAccountInfo.do and want to call the sendMessage. How it is possible?? It is different.

    Other thing is is that your need require the dispatch action rather action class. It seem you require multiple method to call in struts so it is recommended to use dispatchaction class.

    Refer mkyon site for more details about how to use dispatch action and when it is required.

提交回复
热议问题