What alternatives exist to Sitemesh to help layout JSP/JSTL page footers/headers in a Spring MVC app?

☆樱花仙子☆ 提交于 2019-12-10 15:06:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!