Sunday, August 12, 2007

Struts in development mode

Struts has a very nice feature which increases development productivity. It is called development mode (or dev mode) and it forces reloading of configuration files and resource bundles, it raises the debugging level etc. As you, smart developer who reads this blog, might have noticed it has an impact on performance, so use it wisely.
It is very easy to tell struts that you want it running in dev mode. You may set a property in like this:


It is also possible to set this same property in the struts.xml file:
<constant name="struts.devMode" value="true" />

No comments: