struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laserjim <laser...@gmail.com>
Subject Re: Specify DevMode Dynamically at Runtime
Date Fri, 22 May 2009 12:42:42 GMT

SOLVED: When you're in debug mode, add a dispatch initialization listener to
the Struts Dispatch class; the dispatch listener can call
setDevMode("true");.  Tested, works, Struts 2.1.6



laserjim wrote:
> 
> Hello,
> 
> I have a struts application.  Sometimes, at runtime, I decide I want to
> enable dev mode.  Modifying struts.properties requires redeploying the
> webapp.  Is there a way to enable devmode dynamically?
> 
> Thanks!
> 

-- 
View this message in context: http://www.nabble.com/Specify-DevMode-Dynamically-at-Runtime-tp23668635p23669706.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message