adspace


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 is action chaining ?

1168


What do you know about validation plugin ?

1031


What are the contents on web.xml in struts application ?

1072


What is the difference between filters and interceptors ?

1316


How is declarative handling of exceptions done in struts ?

1010