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

Explain about logic match tag?

557


What are action classes in struts?

505


Describe validate() and reset() methods.

586


How are interceptors and servlet filters different?

476


Why do the struts tags provide for so little formatting?

576






1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2742


What are best practices to follow while developing Struts2 application?

599


What is action class?

570


What are the steps involved in creating a strut application?

500


What is the differences between struts1 and struts2?

519


Explain the difference between plain-validator and field-validator in struts?

513


What are the components of struts framework?

569


Explain the complete struts validator framework.

571


What is the purpose of '@keyproperty'?

558


Which interceptor is responsible for file upload support?

563