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 difference between Jakarta Struts and Apache Struts? Which one is better to use?

570


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

551


What is controller in struts2?

491


Explain integrate log4j in struts2 application?

562


What is the use of form bean in struts?

492






Can you explain struts.properties in struts2?

521


Why do the struts tags provide for so little formatting?

578


How to override the default error message that can come during file uploading process?

562


What is request processor and how does it relates to action mapping?

572


What are the benefits of Interceptors in Struts2?

639


What do you mean by ognl?

545


What are the core classes of the struts framework?

503


What is discontinuous strut?

486


Describe the basic steps used to create a tiles application?

547


What is struts framework in java?

521