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
What is the difference between plain-validator and field-validator?
What is the purpose of @emailvalidator annotation?
What are interceptors in struts 2?
What design patterns are used in struts?
Explain struts?
What are the ways in which duplicate form submission can occur?
Is Struts Framework part of J2EE?
What is the purpose of struts.xml in struct2?
What is struts xml?
What is the forward action utilized for?
What is switchaction?
What is role of action class?
What is the purpose of @requiredstringvalidator?
How we can configured action mapping in struts?
What do you mean by inner class and anonymous class?