Wat is Difference between Mvc1 architecture and Mvc2
Architecture?
Answer Posted / b.sivaramakrishnan
MVC1 Architecture has a Model part as (classes,Bean classes
connectivity of Database), View part as jsp pages,and here
only one controller Servlet is used .here we send request
form browser by jsp page it goes to servlet(controller)
servlet get information from the request acording to request
it fatch information form classes(Models) and give responce
to the view part( to the Jsp Page).
In MVC2 Architecture we use Struts FrameWork which is a Open
Source FrameWork.Here Browser send Http Request to the
ActionServlet that Reads StrutsConfig.XML (these two play
role of Controller) then it goes to Model part acording to
request by Browser. Here in Action part we have DataBase,
ActionForm(Basicly Beans or EJB) and that give a response to
View Part As Jsp Page to the Browser.
| Is This Answer Correct ? | 22 Yes | 10 No |
Post New Answer View All Answers
Does struts include its own unit tests?
What is struts.devmode?
What is the purpose of action tag in struts.xml?
How you will enable front-end validation based on the xml in validation.xml?
Give an example of validates method used to avoid errors.
What is the configuration files used in struts?
What is controller in struts2?
What is the purpose of @requiredstringvalidator?
What are the benefits of Struts framework?
What are the reasons for an error message not being displayed while developing struts application?
What is actionmapping?
What is an interceptor stack?
Is struts mvc framework?
What is Custom Type Converter in Struts2?
What is difference between lookupdispatchaction and dispatchaction?