Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: [S2] Spring Bean Interceptors?

Mark Menard

2007-02-13

Replies:

On 2/13/07 3:21 PM, "Dave Newton" <newton.dave@(protected):

> Can Interceptors be Spring Beans (without hackery)?

Yes, just wire it up in your application context. I use to inject a service
bean into an interceptor that handles retrieving user menu's based on role.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.