Re: [s2] implement Parameterizable versus ServletContextListener versus another solution

2006-12-27 Thread Don Brown
I think the best solution is to keep business code like that out of Struts actions and even away from the Struts framework altogether. Personally, I'd use Spring to manage my services, then use the property placeholder to inject String constants into my services using a properties file. In the mo

[s2] implement Parameterizable versus ServletContextListener versus another solution

2006-12-27 Thread Wesley Wannemacher
Hello, Seeking some advice... I am hoping to create a standard method for passing configuration snippets to Actions. For instance, let's say I have a method that among other things, sends an email message. I don't want to hard-code which email server I am planning on using, so how do I tell the A