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

Why is action servlet a singleton in struts?

592


Why do the struts tags provide for so little formatting?

588


What do you mean by the abstract package in struts2, and what is its utilization?

513


What are disadvantages of Struts?

554


What are the various struts tag libraries?

550






What are different Struts2 tags? How can we use them?

574


Which class of struts is responsible to converts data types from string and vice versa?

666


Are the struts tags xhtml compliant ?

542


Is struts 1 still supported?

514


What is the purpose of struct-config.xml in struct2?

562


What are the benefits of Interceptors in Struts2?

655


Who makes the struts?

548


while working struts in intellij 7.0error unable to initialize tld location cache: zip file is closed is displayed anybdy can answer me immdialy .ungert

2055


What is the naming convention for a resource bundle file in struts2?

541


What is struts framework?

553