SiteMesh is a lightweight and flexible Java web application framework that applies the Gang of Four decorator pattern to allow a clean separation of content from presentation.
Work with the content of your website and have the appropriate look and feel applied (decorated) just before delivery to a PC or Mobile device.
At the same time, SiteMesh has many advanced features and works with popular frameworks such as Spring and Struts.
Write your content once and present it in many different ways,
SiteMesh uses Filters introduced since Java Servlet version 2.3.
For a good overview, see Mike Cannon-Brookes' PowerPoint presented at the Vegas Server Side Symposium.
Download SiteMesh 2.4.2, a stable, rock solid and Production proven release or check out SiteMesh 3 Alpha.