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

What do you mean by struts.dev mode?

510


What is actionmapping?

578


What is execute method in struts?

475


What are apache struts?

491


Why are struts tightly coupled?

566






What is the purpose of @element?

560


Are struts and shocks the same?

482


Do you need an alignment after replacing struts?

501


What is strut action mapping?

487


Describe the mvc on struts?

533


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

563


Lists the bundled validators in struts?

533


What are the cons of struts 2?

546


What are the two types of validations supported by validator framework?

548


How struts 2 validation works?

556