• Model-View-Controler

    What is Struts Model-View-Controller (MVC) Architecture?

    Struts work on the bases of MVC design pattern and follow a Model-View-Controller architecture. Model-View-Controller architecture is dividing application components into three different categories Model, View and Controller. Each component of the MVC architecture have independent responsibility, each component is independent to each other. Changes in anyone component will have no or negligible impact on other component. Component responsibilities are defined below: Model: Model is responsible for retrieving data from the database and saving the data into the database. All the business logics are implemented in the Model components. Data entered by the user through View are check in the model before saving into the database. Model is responsible for…

    Comments Off on What is Struts Model-View-Controller (MVC) Architecture?
  • Model-View-Controler

    What is Struts Model-View-Controller (MVC) Architecture?

    Struts work on the bases of MVC design pattern and follow a Model-View-Controller architecture. Model-View-Controller architecture is dividing application components into three different categories Model, View and Controller. Each component of the MVC architecture have independent responsibility, each component is independent to each other. Changes in anyone component will have no or negligible impact on other component. Component responsibilities are defined below: Model: Model is responsible for retrieving data from the database and saving the data into the database. All the business logics are implemented in the Model components. Data entered by the user through View are check in the model before saving into the database. Model is responsible for…

    Comments Off on What is Struts Model-View-Controller (MVC) Architecture?