O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

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 10. The struts-config.xml File: Tying All the Pieces Together

IN THIS CHAPTER

So far, you’ve seen the View (the ActionForm), the Model, and part of the Controller (the Action). But the Action is really only half of the controller. Although the Action returns a forwarding request, the actual destination of the forward is defined in the struts-config.xml file (which will also be referred to in this chapter simply as the config file.

This file is responsible for telling Struts what forms are available, what actions are available, and also allows a number of plug-in models to be added to the base Struts package.

In this chapter, you’ll learn what elements go into this file, ...

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