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 s token?

535


Can explain about the validations and in your project where did u used the validations?

6396


Is there a particularly good ide to use with struts?

504


What inbuilt themes are provided by struts2?

589


Explain about the process of functioning of the struts program?

587






What is filter dispatcher in struts?

533


Which servlet does the struts framework use?

515


What are the action classes in struts?

518


What is the purpose of @action annotation?

567


Where should struts xml be placed?

501


What is the difference between filters and interceptors ?

495


How to convert struts to spring mvc?

533


Explain about the validation steps which have to be carried during validation of client-side address?

537


What is discontinuous strut?

490


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

520