Re: DevMode override

2014-02-17 Thread Lukasz Lenart
Ok, I wasn't too precise. In FilterDispatcher (deprecated) there is option to have something like devModeOverride - but I cannot figure out how can I use it :\ https://git-wip-us.apache.org/repos/asf?p=struts.git;a=blob;f=core/src/main/java/org/apache/struts2/dispatcher/FilterDispatcher.java;h=6f3

Re: DevMode override

2014-02-16 Thread Greg Huber
The way I do mine is via web.xml: ui.struts2.util.config.EnvironmentListener public class EnvironmentListener implements ServletContextListener { private static Log log = LogFactory.getLog(EnvironmentListener.class); /** * @see javax.servlet.ServletContextListener#conte