[6/4/10 14:43:21:730 PDT] 0000001d RequestProces W org.apache.struts.action.RequestProcessor processException Unhandled Exception thrown: class javax.servlet.ServletException
After reviewing numerous posts and on-line tutorials I am having trouble identifying the problem with my sample struts code.
My action class extends LookupDispatchAction. If I include the execute method in my action class that is the only method that gets fired. If I do not include the execute method I receive the following error message.
[6/4/10 14:43:21:761 PDT] 0000001d ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet action. Exception thrown : javax.servlet.ServletException: Request[/customerEdit2] does not contain handler parameter named submitMethod
With any luck this will be obvious to somebody. I am just getting starting with Struts and I am stuck at this point.
I am using JDK 1.4 and Struts 1.1.
Here is a snippet of the action class (without the execute):
Here is a snippet of the struts-config.xml (it also references the resources file, but I did not include that in the snippet).
Here is the resources file:
Here is a snippet of the .jsp
Thanks for any help here.
p.s. I welcome any opinions on the prefered methods for calling multiple methods from the Action class.