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 |
Hai all.What is the use of <logic:iterate>tag in struts application.
What is discontinuous strut?
How struts2 supports internationalization?
What are the benefits of Struts framework?
For a single Struts application, can we have multiple struts-config.xml files?
Why should we go for struts framework?
What is front controller in struts2?
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.
What is actioninvocation?
What is the purpose of @createifnull annotation annotation?
In struts how to use regurlar formbeans using validation framework explain?
What is the purpose of @keyproperty annotation annotation?