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


Please Help Members By Posting Answers For Below Questions

What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

582


What are the contents on web.xml in struts application ?

520


What does apache struts do?

508


What applications use apache struts?

501


What is strut web xml?

535






Explain the core end goal while using java struts?

528


What is role of actionservlet?

573


What is used to display the intermediate result in an interceptor?

507


What is front controller in struts?

572


When should be opt for struts framework?

582


What is struts actionmapping?

531


What are the features of struts?

581


What are the classes used as part of struts framework ?

528


What are the 5 constants of action interface?

548


Difference between struts and spring?

586