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 the purpose of @conversionerrorfieldvalidator annotation?
What is meant by custom tags?
Provide some important Struts2 constants that you have used?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
Why we use struts in java?
What is the apache struts vulnerability?
What is the difference between requestaware and servletrequestaware interface?
Can you explain aware interfaces in struts2?
For a single Struts application, can we have multiple struts-config.xml files?
How an actionform bean is created?
What is the purpose of redirect result type?
What is the actionform?
What are disadvantages of Struts?
Does apache tomcat use struts?
How nested beans can be used in Struts applications?