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 difference between session scope and request scope when saving formbean ?
What is the configuration files used in struts?
How to upload struts file?
what is ACID test for fresh engineers??what is the pattern??
What is the purpose of @key annotation annotation?
How many instances of servlet usually run in a struts application ?
Which components are available using actioncontext map?
What is s token?
What is the purpose of form-beans tag in struct-config.xml?
List the important attribute and elements of action mapping under struts.
What is ValueStack and OGNL?
What is the purpose of execute method of action class?
When it’s useful to use IncludeAction?
How can you create your custom interceptor in struts 2?
Are the struts tags xhtml compliant ?