How Struts will follow the MVC?

Answer Posted / guest

The basic purpose of the MVC architecture is to separate the
business logic and application data from the presentation
data to the user. So in struts there are various components
for these three flavours. For Model struts has not provided
any component as a part of framework so user can have
liberty to use code of his own. For view components JSPs are
used mainly.And for controller there are Action servlet and
the structs configuration files which together acts as a
controller.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you will make available any message resources definitions file to the struts framework environment?

762


Does struts include its own unit tests?

734


Which class is the Front Controller in Struts2?

738


What are apache struts?

691


What is the purpose of @stringlengthfieldvalidator annotation?

825


What is the purpose of @emailvalidator annotation?

692


Difference between struts and spring? Or why use spring, if you are already using struts?

735


What configuration files are used in struts?

733


What is structs 2 validation framework?

763


Which model components are supported by Struts?

803


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

733


how to develop the submit and search operations in single jsp using struts?

2782


What is dispatchaction?

830


What is the difference between forwardaction and includeaction?

775


What is the purpose of '@keyproperty'?

792