I have the following action declared in my struts.xml:
Does your UpdateAccountAction extend DispatchAction? Here's a working example that does what you're trying to do.
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.
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.