Should I define action class like I did with TestForm
How do I do that.
Also, I have a question. When the jsp opens, on load will it find the action from the action mapping defined in struts-config and run execute method. I want to know when will execute method get executed.
When you specify the <html:form> tag, you are specifying the action that will get called when you submit the form. It might be helpful to use realistic names for you action, forms and jsp pages. Like SaveUser, UserForm and UserDetails.jsp.
Joined: Apr 19, 2006
Brent, I finally figured the problem .I was using Action instead of DispatchAction. Thanks for all your suggestions.