1

我在 pom.xml 上有 dev、local、prod 配置文件

    <profile>
        <id>local</id>
        <properties>
            <env>local</env>
        </properties>
    </profile>
    <profile>
        <id>dev</id>
        <properties>
            <env>dev</env>
        </properties>
    </profile>
    <profile>
        <id>prod</id>
        <properties>
            <env>prod</env>
        </properties>
    </profile>
</profiles>

是否可以将这个配置文件值带到 jsp 上?
我想用不同的编译选项分割jsp的一些区域

<c:choose>
            <c:when test="${isFlag =='loc'}">
            <c:when test="${isFlag =='dev'}">

</>
4

0 回答 0