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
Can you explain struts.properties in struts2?
What is the purpose of @conversion?
What are the 5 constants of action interface?
What is apache struts framework?
What is the use of reset method of ActionForm class?
What is front controller in struts2?
What is the purpose of @conversion annotation annotation?
What is the purpose of @intrangefieldvalidator annotation?
Can explain about the validations and in your project where did u used the validations?
What do you know about validation plugin ?
What does apache struts do?
Name the different types of actions found in struts.
Explain about struts?
What is discontinuous strut?
What configurations are stored in struts configuration file ?