Installing and SiteMesh is a very straightforward process.
The quickest way to configure SiteMesh within a development environment is to simply import sitemesh-blank.war.
Install SiteMesh Manually
Manually installing SiteMesh consists of four steps,
- Setup a Web Application
- Add the SiteMesh library file to WEB-INF/lib
- Add the SiteMesh filter to web.xml
Setup Library File
Copy sitemesh-2.4.1.jar into to your web applications WEB-INF/lib directory.
Add the following to WEB-INF/web.xml within the <web-app> tag,
Create the a decorators.xml file in your WEB-INF directory,