Struts Complete Tutorial

Struts Complete Tutorial

Monday, 14 January 2013

What Is MVC Architecture?

Struts MVC Architecture

 Struts MVC Architecture is stands for Model View Controller.

Model 

The model contains the business logic and handles the HttpServlet request and response object.interact with the persistance class,DAO class to store,retrive and manipulate data. All Action class are member in model layer.

View


The view is responsible for dispalying the results back to the user. In Struts the view layer is implemented using JSP.

Controller


The controller handles all the request from the user and selects the appropriate view to return. In Sruts the controller's job is done by the ActionServlet.

Click to view complete steps

What is struts framework?

 What is struts?

Struts framework is an open source framework for developing web application in java technology based on MVC architecture.Struts framework helps to developer to create application by easily.
Struts framework provides the functionality to validate the form data. It can be use validate the data on the server side.

Components of Struts

  1. Model
  2.View