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
What is the purpose of @result annotation?
What is the purpose of @beforeresult annotation?
What is dispatch action class?
What is includeaction?
Where can I get a copy of struts?
Is struts action class singleton?
What is the purpose of struct-config.xml in struct2?
When do I need “struts.jar” on my classpath?
What are the some useful annotations introduced in struts2?
Explain about the library tag?
How properties of a form are validated in Struts?
What is interceptor struts2?
Name the different types of actions found in struts.
What is the purpose of @createifnull annotation annotation?
What’s the utilization of resource bundle properties file in struts validation structure?