which MVC architecture struts follows and why?

Answer Posted / prapanch

struts will follow mvc2 architecture.
in mvc2 architecture there will be only one action servlet
which acts like a controller and it will be the only
servlet needs to be configured in the web.xml. but in mvc1
there will be many controllers as many servlets will
present, so you need to configure all the servlets there in
web.xml. so if there is any change occurs in any one of the
servlets you need to deploy it again.

Is This Answer Correct ?    31 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are struts tightly coupled?

592


Where can I get a copy of struts?

541


Can you explain aware interfaces in struts2?

586


Which tag is used to declare constants in struts xml?

474


What are the two different types of validations that the validator framework supports?

525






What is action chaining ?

634


How is declarative handling of exceptions done in struts ?

478


What does modeldriven interceptor?

591


What should be the name of xml file used for validation in struts?

541


Give an example of validates method used to avoid errors.

507


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

627


What do you mean by tiles in struts?

542


What do you mean by dynaactionform?

553


What is struts validator framework?

552


How do you find the struts version being used in a project?

516