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
Which configuration file is used for storing jsp configuration information in struts?
Who wrote struts?
Give an example where struts tiles may be used?
What is apache struts cve 2017 5638?
What is struts2 framework?
What is meant by custom tags?
What is the purpose of redirect result type?
When should we use SwtichAction?
How can link tag’s action attribute be used?
How many servlet controllers are used in a Struts Application?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What are the core components of a struct2 based application?
Explain about logic match tag?
Provide some important Struts2 constants that you have used?
What is the use of token interceptor in Struts2?