Re: intercept return, and Interceptor implementing ServletRequestAware

2007-04-15 Thread Mansour
Dave Newton wrote: --- Mansour <[EMAIL PROTECTED]> wrote: What's the point then of having an action, if the intercept method is going to execute the action. Why don't I just put the action code in an interceptor ? Because interceptors are normally called for *groups* of acti

Re: intercept return, and Interceptor implementing ServletRequestAware

2007-04-15 Thread Dave Newton
--- Mansour <[EMAIL PROTECTED]> wrote: > What's the point then of having an action, if the > intercept method is going to execute the action. Why > don't I just put the action code in an interceptor ? Because interceptors are normally called for *groups* of actions, not just one... just like it s

Re: intercept return, and Interceptor implementing ServletRequestAware

2007-04-15 Thread Mansour
Musachy Barroso wrote: http://struts.apache.org/2.x/docs/interceptors.html http://struts.apache.org/2.x/docs/writing-interceptors.html What 's the point then of having an action, if the intercept method is going to execute the action. Why don't I just put the action code in an interceptor ?

Re: intercept return, and Interceptor implementing ServletRequestAware

2007-04-15 Thread Musachy Barroso
http://struts.apache.org/2.x/docs/interceptors.html http://struts.apache.org/2.x/docs/writing-interceptors.html On 4/15/07, Mansour <[EMAIL PROTECTED]> wrote: I can not figure out how to configure an interceptor. What does the returned string represents ? I mean if I have an action that has o

intercept return, and Interceptor implementing ServletRequestAware

2007-04-15 Thread Mansour
I can not figure out how to configure an interceptor. What does the returned string represents ? I mean if I have an action that has one or more interceptors, how would the returned string of the interceptor affects the execution of this action ? Any examples ? -