Sitemesh可以使用哪些替代方法来帮助在Spring MVC应用程序中布局JSP/JSTL页面页脚/页眉?

问题描述:

我尝试从Sitemesh装饰器中排除某些页面,但它似乎没有遵循自己的逻辑:

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>

在主要使用纯JSP/JSTL的Spring MVC应用程序中,有哪些Sitemesh替代品可以作为即插即用替代品?

What alternatives exist to Sitemesh that could serve as a drop-in replacement in a Spring MVC app that uses mainly plain JSP/JSTL?

您是否尝试过图块( http://tiles. apache.org/)?我已经在spring mvc中使用了它(但是是freemarker而不是jsp).

Have you tried tiles (http://tiles.apache.org/)? I have used it with spring mvc (but freemarker and not jsp)..