struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: How to disable devMode in prod
Date Thu, 15 Sep 2016 12:23:28 GMT
2016-09-15 13:35 GMT+02:00 Christoph Nenning <Christoph.Nenning@lex-com.net>:
>> Hi,
>>
>> Do you have a solution to disable devMode in production environment?
>> Based on some ENV variable or something?
>
> Yes, we register a configProvider in web.xml which disables devMode based
> on a system property.

Can you share source code of the provider?


Thanks in advance
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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


Mime
View raw message