Jump to content

Java Platform, Enterprise Edition/Java EE Tutorial/Tiles

From Wikiversity

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

Why use Tiles

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

Tiles Plug-in

[edit | edit source]

tiles-defs.xml

[edit | edit source]

Tiles Tag library

[edit | edit source]

Writing JSP

[edit | edit source]