It used to be that you could use an include statements in the struts.xml, e.g.  
   <include file="struts-local-settings.xml" />.  We used this to allow for 
different settings in production and development by importing different files.  
This could be a nice “pair” if you can specify environment variables.

- adam
-- 
_________________________________________________________
Adam Brin
Director of Technology, Digital Antiquity
480.965.1278

> On Sep 15, 2016, at 8:00 AM, Lukasz Lenart <lukaszlen...@apache.org> wrote:
> 
> Maybe the first step should be just simple, use ENV in
> struts.xml/struts.properties
> 
> <constant name="struts.devMode" value="${ENV.STRUTS_DEV_MODE:false}"/>
> 
> wdyt?
> 
> 
> Regards
> -- 
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to