On 4/20/06, Vimal Varghese <[EMAIL PROTECTED]> wrote: > Can someone suggest a site for struts modulisation, with a small example.
The "Examples" application that is bundled with the Struts 1.2.9 distribution uses modules. Orginally, each module was a separate example application. When modules came out, we bundled them into one. * http://struts.apache.org/struts-action/learning.html#Examples * http://struts.apache.org/struts-action/userGuide/configuration.html#dd_config_modules The module feature works well, but a simplier alternative can be to use multiple configuration files. The modules automatically insert a prefix for you, to avoid action name collissions. But, if you can manage your own prefixes, multiple configurations works as well. To use multiple configuration files, simply specify more than one file in the web.xml. <init-param> <param-name>config</param-name> <param-value> /WEB-INF/struts-config.xml, /WEB-INF/struts-config-2.xml, /WEB-INF/struts-config-3.xml </param-value> </init-param> HTH, Ted. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]