which MVC architecture struts follows and why?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sasikaladuraiswamy
hai Pradeep, why m v c 1 & 2. need more info....
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / pradeep kumar
hi to all.
Struts uses both M V C 1 & 2 architectures.
based on the project requirement v can decide which has to
use .According to my knowledge v can decide which M V C can
be used at the time of project development only.
if any other plz post .
thanks in advance .
| Is This Answer Correct ? | 0 Yes | 9 No |
What is role of action class?
What is value stack?
struts is thread safe or not ?give me answer as early as possible
How to display validation errors on jsp page?
Why use spring, if you are already using struts?
Main reasons for using servlet as a controller in struts. why not jsp
What is the differences between struts1 and struts2?
Can we have more than one struts-config.xml file for a single struts application?
What is the default suffix for Struts2 action URI and how can we change it?
What are the struts2 configuration properties that control file uploading process?
What is token used for?
Explain about struts dispatch action?