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

Conclusions

The struts-config.xml file offers a myriad of configuration options, most of which will never be used by a developer working on simple Struts applications. However, the large degree of configuration—from being able to change the way paths are created, to changing out the entire controller itself—means that there is just about nothing that a Struts developer can’t do if he or she is willing to take the time.

Also, the configuration file is the common point that brings together the Actions, Forms, and JSP pages. In a well-designed Struts application, the JSP page doesn’t know anything about the Action or Form classes that support it. The Action doesn’t know what a given forwarding request actually translates to in terms of a URI, and ...

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