With Struts 2 makes sure to place SiteMesh before the FilterDispatcher filter in your web.xml. You will also want to have consideration for using ActionContextCleanUp filter.
Since Struts 2.1.3, use StrutsPrepareAndExecuteFilter and corresponding clean up filters.
Powered by a free Atlassian Confluence Open Source Project License granted to SiteMesh. Evaluate Confluence today.