O'Reilly logo

Struts 2 Design and Programming: A Tutorial by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Starting with Struts

In Chapter 1, “Model 2 Applications” you learned the advantages of the Model 2 architecture and how to build Model 2 applications. This chapter introduces Struts as a framework for rapid Model 2 application development. It starts with a discussion of the benefits of Struts and how it expedites Model 2 application development. It also discusses the basic components of Struts: the filter dispatcher, actions, results, and interceptors.

Introducing Struts configuration is another objective of this chapter. Most Struts application will have a struts.xml file and a struts.properties file. The former is the more important as it is where you configure your actions. The latter is optional as there exists a default.properties ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required