Wednesday, June 11, 2008

Why Struts

We need a mechanism that can separate the presentation layer of a web application from business logic. Luckily we have MVC and we have Struts. MVC is a design pattern (best practice method) that separates the application design into there main parts:



Model, View and Controller



* Model - data and logic (business logic methods).

* View - output displayed to the user

* Controller - takes the input from the user and passes it to the relevant model. The model returns and based on the result, the controller decides which view (page) to show the user.

Download the source code of eclipse project from here :- registration
Download the videos for configuring struts in eclipse here:-
video-1
video-2
video-3
video-4

No comments: