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

Re: Specify DevMode Dynamically at Runtime

2009-05-22 Thread Norris Shelton
DevMode Dynamically at Runtime 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

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 runtime, I decide I want to > ena