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

Is struts action class singleton?

732


Explain struts.devmode?

725


What are the features of struts 2?

705


What is lookupdispatchaction?

743


What is the purpose of @emailvalidator?

725






Give an alternative way to protect jsp’s with not much features from direct access.

737


How struts2 supports internationalization?

863


Can a reducer dispatch an action?

690


Can we have more than one struts-config.xml file for a single struts application?

692


What does it cost to replace struts?

690


What are the life cycle methods of interceptor?

689


What are the benefits of Interceptors in Struts2?

865


How can we write our own interceptor and map it for action?

763


What is discontinuous strut?

661


What is the use of interceptor?

685