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

How many action classes can be used in struts application?

707


How is declarative handling of exceptions done in struts ?

673


What are action errors and error and what are the consequences they impose?

773


What is the purpose of redirect result type?

762


What are the various struts tag libraries?

718


What are the classes used as part of struts framework ?

696


What is value stack?

801


Lists the bundled validators in struts?

747


What is http redirect?

772


Does apache struts run on windows?

736


What is struts 2 framework in java?

762


What is the difference between validation.xml and validator-rules.xml files in struts validation framework?

800


What are the steps involved in creating a strut application?

717


Are interceptors and filters different?

749


What do you mean by action errors and what are the results they force?

809