Here are some that I've used in recent project:

AuthenticationInterceptor to check if user is signed in.
HibernateInterceptor to manage Hibernate session lifecycles
LoggingInterceptor for custom logging
HandsetPropertiesInterceptor for injecting properties into the request
based on User-Agent settings
TrimParametersInterceptor to trim whitespace off string parameters
RedirectMessageInterceptor to handle preserving messages across redirects
CookieMessageInterceptor to handle preserving message in cookies when
not using sessions

Interceptors are the place I will normally handle any cross-cutting concerns.

On Tue, Oct 12, 2010 at 1:26 PM, aum strut <aum.str...@gmail.com> wrote:
> I am truely agree but can give me some example where you have applied them
> just to get me an idea may be lacing imagination this time
>
> :)
>
> On Tue, Oct 12, 2010 at 10:40 PM, Greg Lindholm 
> <greg.lindh...@gmail.com>wrote:
>
>> Every app I've written has custom interceptors (and of course custom
>> interceptor stacks).
>> Don't fear interceptors, they are your friends.
>>
>> On Tue, Oct 12, 2010 at 12:17 PM, aum strut <aum.str...@gmail.com> wrote:
>> > Hi All,
>> >
>> > I have a generic question about Struts2Interceptor,since Struts2 is
>> itself
>> > in term of Interceptor and most of the required interceptors are there
>> > placed.
>> >
>> > My question is how many of us are using custom Interceptor which are
>> there
>> > in production enviornment.my idea is to get some broad prespective about
>> > there usuage and practical implimentation in production
>> >
>> >
>> >
>> > Thanks in advance,
>> >
>> > Aum
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to