Download an example of Sitemesh SiteMesh-Example.war, published to Tomcat, first error, first is web.xml resolution
SiteMesh filter-name> * url-pattern> filter-maping>
Should be changed
SiteMesh filter-name> / * url-pattern> filter-maping>
After the release is successful, open an error
Java.lang.illegalStateException: getOutputStream () HAS Already Been Called for this Response
Check his wiki online and found that it is a bug. gosh.
http://jira.opensymphony.com/browse/sim-74
Author declaration has been resolved in version 2.1.