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
How many action classes can be used in struts application?
How is declarative handling of exceptions done in struts ?
What are action errors and error and what are the consequences they impose?
What is the purpose of redirect result type?
What are the various struts tag libraries?
What are the classes used as part of struts framework ?
What is value stack?
Lists the bundled validators in struts?
What is http redirect?
Does apache struts run on windows?
What is struts 2 framework in java?
What is the difference between validation.xml and validator-rules.xml files in struts validation framework?
What are the steps involved in creating a strut application?
Are interceptors and filters different?
What do you mean by action errors and what are the results they force?