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 applications use apache struts?

669


Explain about how requests from the client are sent?

672


Explain the necessity of empty tag?

763


What are apache struts?

667


How do struts work?

681


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

727


What is the purpose of form-be tag in struct-config.xml?

730


Are struts thread safe?

730


What are the two scope types for formbeans?

849


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

2760


What is struts validator framework?

712


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

775


What is the purpose of @doublerangefieldvalidator?

815


What is the use of jsonvalidation in struts?

711


What is interceptor in Struts2?

735