struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4698) Allow <constant/> value substitution in XML configuration
Date Wed, 12 Oct 2016 09:31:20 GMT

    [ https://issues.apache.org/jira/browse/WW-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568188#comment-15568188
] 

Lukasz Lenart commented on WW-4698:
-----------------------------------

Docs updated as well https://cwiki.apache.org/confluence/display/WW/Constant+Configuration#ConstantConfiguration-Valuesubstitution

> Allow <constant/> value substitution in XML configuration
> ---------------------------------------------------------
>
>                 Key: WW-4698
>                 URL: https://issues.apache.org/jira/browse/WW-4698
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: 2.5.5
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.5.6
>
>
> It'd super useful if it'll be possible to substitute ENV variables in struts.xml
> {code:xml}
> <constant name="struts.devMode" value="${ENV.STRUTS_DEV_MODE:false}"/>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message