Chapter 16. The Struts Tiles Tag Library: Creation Master Document Templates


IN THIS CHAPTER

  • A Tiles Overview

  • Enabling Tiles

  • The Definitions Configuration File

  • Writing JSP Files for Tiles

  • Modifying Your Actions

  • Putting It All Together

  • Other Aspects of Tiles

  • Conclusions

As you develop Web applications, you typically discover that each page has a core central element that changes, and is surrounded by relatively static elements such as the header, footer, and perhaps a side menu.

The Tiles taglib enables you to create a page template that you can use through your application, and which also enables you to define this structure in terms of a master XML template.

This chapter shows one possible way you could use Tiles to simplify your site design, but it isn't intended to be a complete guide to the library itself. For that, you should take a look at the API guide on the Jakarta Web site.



Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net