--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote:
>               <property name="loginChecker"><ref local="loginChecker"
> /></property>
> 
> I guess I could manually call Spring from Java code to fill in the
> log-in checker class, but this way I can keep Spring entirely out of my
> code's [direct] dependencies [...] If there's a simpler way to tell Struts 
> to use Spring on certain of an action's properties, feel free to enlighten
me. 

If the Spring plugin is being used I don't think you need to do anything
except define a "loginChecker" bean and it'll be injected automagically
(autowiring by name is the default) [1]. Totally optional, though; just a
convenience.

Dave

[1] http://struts.apache.org/2.x/docs/spring-plugin.html



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to