Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
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-Dynamicall

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
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

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread laserjim
# 26487421 > AIM NorrisEShelton > YIM norrisshelton > > > > > > From: laserjim > To: user@struts.apache.org > Sent: Friday, May 22, 2009 8:42:42 AM > Subject: Re: Specify DevMode Dynamically at Runtime > > > SOLVED: When