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
What is actionform in struts?
How can we group related actions in one group in Struts?
How can link tag’s action attribute be used?
What are the benefits of Interceptors in Struts2?
What is the apache struts vulnerability?
Can we have multiple struts config files in a single web app?
Why do we need mapdispatchtoprops?
What is struts-default package and what are it’s benefits?
In struts.xml, what does the attribute "method" stands for in the "action" tag?
What is role of action class?
Describe the two types of formbeans.
Which technologies can be used at view layer in struts?
What are the benefits of Struts framework?
Difference between struts and spring? Or why use spring, if you are already using struts?
What is controller in struts ?