Java Platform, Enterprise Edition/Java EE Tutorial/Tiles

For applications which are having a static header, footer, sidebar etc., Struts Tiles can be very useful.

Why use Tiles

edit
  • can avoid overuse of 'include' directive
  • styles and jsp content can be inherited.

Tiles Plug-in

edit

tiles-defs.xml

edit

Tiles Tag library

edit

Writing JSP

edit