its a ActionForm controller or model?
Answer Posted / rasool
When you send request,request before gng to the Action classes,ActionForm(FormBean) will be executing and just it is just a View Data Transfer class.And it is not a business logic,just it is validating form fields.
Observe once struts config file
<action path="/test" name="formname" type="ActionClass"/>
First check path in actions and check if name attribute there or not if exists gng to the FormBean class not Actionclass.
So it is part of controller..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which design pattern the interceptors in struts2 is based on?
Can I have html form property without associated getter and setter formbean methods?
What is the purpose of struts.properties in struct2?
What does i18n interceptor?
If the framework doesn’t do what I want, can I request that a feature be added?
What are the sections into which a strut configuration file can be divided?
How do struts work?
Difference between struts and spring? Or why use spring, if you are already using struts?
What is the front controller in struts2?
What configuration changes are required to use Tiles in Struts?
What are construction struts?
What are the Core classes of Struts Framework?
How do you find the struts version being used in a project?
How is a lookup dispatch action created?
What is the use of Struts.xml configuration file?