Re: Generic Question about Struts2 Interceptor
That's really Helpful Greg On Wed, Oct 13, 2010 at 12:21 AM, Greg Lindholm wrote: > 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 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 >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 > 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 > >
Re: Generic Question about Struts2 Interceptor
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 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 > 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 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
Re: Generic Question about Struts2 Interceptor
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 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 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 > >
Re: Generic Question about Struts2 Interceptor
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 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
Re: Generic Question about Struts2 Interceptor
I don't think I've deployed an app without at least one or two custom interceptors. On Tuesday, October 12, 2010, aum strut 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