Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is MVC?

Answer Posted / eldho k abraham

Model-View-Controller (MVC) is a design pattern put
together to help control change. MVC decouples interface
from business logic and data.
Model : The model contains the core of the
application's functionality. The model encapsulates the
state of the application. Sometimes the only functionality
it contains is state. It knows nothing about the view or
controller.

View: The view provides the presentation of the
model. It is the look of the application. The view can
access the model getters, but it has no knowledge of the
setters. In addition, it knows nothing about the
controller. The view should be notified when changes to the
model occur.

Controller:The controller reacts to the user input.
It creates and sets the model.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @result annotation?

1070


In which order struts framework searches for a message bundle?

892


Can you explain aware interfaces in struts2?

975


How can we group related actions in one group in Struts?

917


What is action support class in struts2?

941


What is struts xml?

788


How interceptor works in struts 2?

991


Why use struts framework in java?

1028


What are the core classes of the struts framework?

893


What does params interceptor?

888


What are the two scope types for formbeans?

1143


What are best practices to follow while developing Struts2 application?

968


What are the two types of validations supported by validator framework?

973


What is the use of forwardaction?

960


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

957