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
Explain about the validation steps which have to be carried during validation of client-side address?
How to combine the struts with velocity template?
For a single Struts application, can we have multiple struts-config.xml files?
How an actionform bean is created?
Explain design patterns which is used in struts?
What are construction struts?
how to get the last 10 elements using logic:iterate in struts with hiernate from database.
How to build struts application in eclipse?
Are interceptors and filters different?
Mark the differences between html tags and strut specific html tags.
What is jakarta struts framework?
What is ValueStack and OGNL?
What steps are required to for an application migration from Struts1 to Struts2?
What is DynaActionForm?
What is the purpose of action-mappings tag in struct-config.xml?