These days, dependency injection (or IoC) containers are of common use in applications. They allow you to inject any kind of bean into your actions.
S2 comes with a built in dependency injection container [1], or through the plugin mechanism, you can integrate your preferred IoC container (like Spring or Guice.) See [2] for a list of containers supported. I suppose that you could develop your own plugin to provide some kind of .property defined parameters file, but why bother? [1] http://struts.apache.org/2.1.2/docs/bean-configuration.html [2] http://cwiki.apache.org/S2PLUGINS/home.html 2008/8/24 Ramez Hassan <[EMAIL PROTECTED]>: > Hello folk, > > > > I need to add certain application specific configurations into a struts > application, as simple as a property bundle. But I want it to be integrated > directly with Struts framework classes such that it's accessible from all > actions and contexts. Are there any struts-like extension to do such a thing > like a plug-in or something? > > > > The plug-in architecture struts documentation stated @ > http://struts.apache.org/2.x/docs/plugins.html defines extension point but I > don't know whether it will give me what I require, any thoughts? > > > > Regards, > > Ramez > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]