Skip to main content

Posts

Showing posts with the label struts with data base

How To Create Struts Application Using Netbeans

Struts Tutorial The example application described below is a basic Struts  application. The basic flow of the application is a simple form page which goes through a Struts action and re-displays the contents of the form. MVC Architecture T he main aim of the MVC architecture  is to separate the business logic and application data from the presentation data to the user. Here are the reasons why we should use the MVC design pattern. They are  resuable  : When the problems recurs, there is no need to invent a new solution, we just have to follow the pattern and adapt it as necessary. They are  expressive : By using the MVC design pattern our application becomes more expressive. 1).   Model:  The model object knows about all the data that need to be displayed. It is model who is aware about all the operations that can be applied to transform that object. It only represents the data of an application. The model represents e...