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 the purpose of @conversion?
What is an interceptor stack?
In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.
How to handle exceptions in structs?
What is filter dispatcher in struts?
what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO?
6 Answers BOB Technologies, TCS,
Which class is the Front Controller in Struts2?
How is declarative handling of exceptions done in struts ?
What does action do in struts?
What inbuilt themes are provided by struts2?
what is ACID test for fresh engineers??what is the pattern??
What is struts in java with example?