从特定的jsp文件中排除前奏和尾声

时间:2019-11-10 13:20:20

标签: jsp jsp-fragments

我有一个<jsp-config>适用于所有.jsp文件。我想从前奏和尾声中排除一些文件。我该如何实现?

我的<jsp-config>

<jsp-config>
    <jsp-property-group>
        <url-pattern>*.jsp</url-pattern>
        <url-pattern>*.jspf</url-pattern>
        <page-encoding>UTF-8</page-encoding>
        <scripting-invalid>false</scripting-invalid>
        <include-prelude>/WEB-INF/view/include/header.jspf</include-prelude>
        <include-coda>/WEB-INF/view/include/footer.jspf</include-coda>
        <trim-directive-whitespaces>true</trim-directive-whitespaces>
        <default-content-type>text/html</default-content-type>
    </jsp-property-group>
</jsp-config>

0 个答案:

没有答案