SiteMesh


SiteMesh is a Java web application development framework originally developed by now-defunct open source project OpenSymphony. The code is now hosted on GitHub however there have been no changes to the since 2015.
According to the , Sitemesh:
SiteMesh version 3 uses the Apache Software License.
SiteMesh version 2 uses the OpenSymphony Software License which is modified from, and fully compatible with the Apache Software License.

How it works

SiteMesh acts as Servlet Filter that intercepts the HTML being returned to the web browser, extracting the relevant content and merging it into a template known as the decorator. The filter places the content of any html, jsp, or other web framework page into a pre-defined template called a decorator.

History

SiteMesh was originally developed in 1999 by Joe Walnes. At the time it used Servlet Chains, a feature not part of the standard Servlet specification but supported by some Servlet containers such as Orion Application Server.
In 2000, the first public review of version 2.3 of the Servlet Specification was released, which contained the addition of Servlet Filters. These provided a standardized alternatives to Servlet Chains and SiteMesh was adapted to make use of these instead.
Shortly after this, the decision was made to release SiteMesh as open source software. Joe Walnes and Mike Cannon-Brookes formed the OpenSymphony project to provide a source of Java EE components - the first two consisting of SiteMesh and OSCache.
At this time, SiteMesh had a very small set of users, many of whom got involved in the development of the project. Not long after SiteMesh was originally open sourced, Victor Salaman rewrote the internal HTML parser to produce a 1200% performance increase.
As of June 2011, OpenSymphony shut down as a project. SiteMesh lived on at its own site http://sitemesh.org until June 2012, when documentation was moved to a Confluence wiki. The code was maintained on the GitHub repository until 2015.