What is MVC Architecture?

Answer Posted / sanjay rathod

The basic reason behind the MVC Model is to seperate the
business logic from presentation loic.

In MVC I-> The Jsp is going work just like the Controller
because request and response is get handled by JSP itself
and only model i.e database part is different than view and
controller,means the overall MVC I architecture contains
only two componants.

In MVC II->The model,view and Controller are seperated from
each other,i.e business logic and presentation logic are
seperate and database part are different from each other.
Model->Database,java bean,EJB
View-->JSP,HTML Pages
Controller-->Servlet Controller(Action Servlet)

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @intrangefieldvalidator annotation?

943


What is the purpose of action tag in struts.xml?

638


What is the use of reset method of ActionForm class?

652


How we can configured action mapping in struts?

651


Will the struts tags support other markup languages such as wml ?

640






What are the sections into which a strut configuration file can be divided?

650


Explain about tiles?

664


What are interceptors in struts 2?

669


What’s the utilization of resource bundle properties file in struts validation structure?

706


When should we use SwtichAction?

675


What is the difference between plain-validator and field-validator?

609


What is the purpose of @results annotation?

802


What is front controller in struts2?

636


Give an example of validates method used to avoid errors.

598


What is the use of namespace in action mapping in Struts2?

654