Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

What is SiteMesh?


Imagine working with only the simple content of your website and having the complex presentation code applied (decorated) just before delivery to the browser.

Why Use SiteMesh

Write your content once and present it in many different ways for different audiences and different devices.

Let's Hear Some More

SiteMesh uses Filters introduced since Java Servlet version 2.3.

  • SiteMesh intercepts requests to any static or dynamically generated HTML page requested through the web-server, processes the content and then merges it with one or more decorators to build the final result.
  • SiteMesh can also be used compose large pages of smaller pages and layouts.


