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 |
In how many ways duplicate form submission can occurs?
Can we integrate struts with spring?
What is request processor and how does it relates to action mapping?
Provide some important Struts2 constants that you have used?
Why are frameworks used?
What is the difference between struts1 and struts2?
Can a reducer dispatch an action?
I have 4 jsp pages .At last page we have a submit button when we click it it will store all jsps data which we provide will store into database. how we can make it possible
Can i use constructor in Action Class?If yes how?
What is the difference between requestaware and servletrequestaware interface?
What design patterns are used in struts?
Does struts include its own unit tests?