Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About This Book

About the Title

About the Cover Illustration

1. Struts 2: a brand new framework

Chapter 1. Struts 2: the modern web application framework

1.1. Web applications: a quick study

1.1.1. Using the Web to build applications

1.1.2. Examining the technology stack

1.1.3. Surveying the domain

1.2. Frameworks for web applications

1.2.1. What’s a framework?

1.2.2. Why use a framework?

1.3. The Struts 2 framework

1.3.1. A brief history

1.3.2. Struts 2 from 30,000 feet: the MVC pattern

1.3.3. How Struts 2 works

1.4. Summary

Chapter 2. Saying hello to Struts 2

2.1. Declarative architecture

2.1.1. Two kinds of configuration

2.1.2. Two mechanisms for declaring your architecture

2.1.3. Intelligent defaults

2.2. A quick hello

2.2.1. Deploying the sample application

2.2.2. Exploring the HelloWorld application

2.3. HelloWorld using annotations

2.4. Summary

2. Core concepts: actions, interceptors, and type conversion

Chapter 3. Working with Struts 2 actions

3.1. Introducing Struts 2 actions

3.1.1. What does an action do?

3.2. Packaging your actions

3.2.1. The Struts 2 Portfolio application

3.2.2. Organizing your packages

3.2.3. Using the components of the struts-default package

3.3. Implementing actions

3.3.1. The optional Action interface

3.3.2. The ActionSupport class

3.4. Transferring data onto objects

3.4.1. Object-backed JavaBeans properties