| This Chapter | |
| - | Introduction |
| - | Why Servlets Are Not Dead |
| - | The Problems with Model 1 |
| - | Model 2 |
| - | The Benefits of Struts |
| - | Overview of the Chapters |
| - | Code Download |
| - | Other Resources |
The Model 1 design model is page-centric. Applications implementing this model have a series of JSPs where the user proceeds from one page to another. This is the model you always employ when you first learn JSP because it is simple and easy. The main problem with Model 1 applications is that they are hard to maintain and inflexible. On top of that, this architecture does not promote the division of labor between the page designer and the Web developer because the developer is involved in both page development and business logic coding.
To summarize, Model 1 is not recommended for the following reasons: