--- "M. Bitner" <[EMAIL PROTECTED]> wrote:
> [...] Spring is picking up the beans defined in
> applicationContext and instantiating them. How do I 
> get them into my actions to use them for data
access?

Two main ways:

1) Wire them up by hand (define your actions as beans
in a Spring context file, wire everything by hand)

2) Use "by-name" auto-wiring, tell S2 to use Spring as
its object factory, and provide getters/setters in
your action with the same name as the bean.

d.



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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

Reply via email to