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


Please Help Members By Posting Answers For Below Questions

Explain about the validation steps which have to be carried during validation of client-side address?

545


How to combine the struts with velocity template?

492


For a single Struts application, can we have multiple struts-config.xml files?

585


How an actionform bean is created?

571


Explain design patterns which is used in struts?

538






What are construction struts?

513


how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4040


How to build struts application in eclipse?

526


Are interceptors and filters different?

547


Mark the differences between html tags and strut specific html tags.

589


What is jakarta struts framework?

564


What is ValueStack and OGNL?

573


What steps are required to for an application migration from Struts1 to Struts2?

608


What is DynaActionForm?

603


What is the purpose of action-mappings tag in struct-config.xml?

592