struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo Bernacchioni <lorenzo.bernacchi...@gmail.com>
Subject set struts.devMode programatically?
Date Thu, 26 Jul 2012 16:55:42 GMT
Hi, I had a similar problem, but I want to handle it at bootstrap time.
I used the DispatcherListener<http://struts.apache.org/2.0.14/struts2-core/apidocs/org/apache/struts2/dispatcher/DispatcherListener.html>available
for the
Dispatcher<http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/Dispatcher.html>entity
during start-up.
I wrote a post about how programmatically change the configuration in
Struts2:

http://yoprogrammer.wordpress.com/2012/07/26/struts2-programmatically-change-devmode-configuration/

cheers,
lorenzo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message