问题
I've tried excluding certain pages from my Sitemesh decorator but it doesn't seem to follow its own logic:
<decorators>
<excludes>
<pattern>/register</pattern>
</excludes>
</decorators>
What alternatives exist to Sitemesh that could serve as a drop-in replacement in a Spring MVC app that uses mainly plain JSP/JSTL?
回答1:
Have you tried tiles (http://tiles.apache.org/)? I have used it with spring mvc (but freemarker and not jsp)..
来源:https://stackoverflow.com/questions/5849706/what-alternatives-exist-to-sitemesh-to-help-layout-jsp-jstl-page-footers-headers