--- Laurie Harper <[EMAIL PROTECTED]> wrote: > Alberto A. Flores wrote: > > Does anyone know if it's possible to inject values into struts.xml > > (something like PropertyConfigurer does in Spring)? > > I couldn't find a PropertyConfigurer class in Spring; perhaps you meant > PropertyPlaceholderConfigurer or PropertyOverrideConfigurer? In any > case, I'm not familiar with those classes so I'm not sure what you mean > by 'inject values into struts.xml'. How would you 'inject values' into > an XML file?
Spring uses PropertyPlaceholderConfigurer to load variables from property files. They can then be accessed using the typical ${} access notation throughout Spring config files; handy for things like datasource properties. I'm not aware that this is possible for the S2 config file, but depending on what specifically you're trying to accomplish it may not be necessary. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]