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

Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

502


What is pojo in struts2?

566


Explain about the library tag?

599


What is the difference between struts1 and struts2?

518


What are best practices to follow while developing Struts2 application?

611






What is filter dispatcher in struts?

537


Which interceptor is responsible for i18n support?

524


What is the difference between session scope and request scope when saving formbean ?

560


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2759


What is struts in java with example?

514


Explain the life cycle of a request in struct2 application?

494


How to work with error tags?

567


What do you mean by tiles in struts?

546


Why we use struts in java?

518


What is the difference between forwardaction and includeaction?

535