O'Reilly logo

Servlet & JSP: A Tutorial, Second Edition 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 24

Introduction to Struts 2

In Chapter 11, “Application Design” you learned about the advantages of the Model 2 architecture and how to build applications based on that model. This chapter introduces Struts 2 as a framework for rapid Model 2 application development, starting with a discussion of the benefits of Struts 2 and how it expedites Model 2 application development. It also explains the basic components of Struts 2: the filter dispatcher, actions, results, and interceptors.

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

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