Hi all,

I wonder if it is possible to pass a parameter with a value to an
interceptor.

Example:

I have the following interceptor:

 <interceptor name="authentication"
class="com.struts.security.AuthenticationInterceptor"/>

(parameterGivenInXmlFile==4)


the implementation is:

        public String intercept (ActionInvocation invocation) throws Exception 
        {               
             ...
             if (parameterGivenInXmlFile ==3)
                //do something
              ....
        }       


thanks for any input

-- 
View this message in context: 
http://www.nabble.com/is-possible-to-pass-a-parameter--to-an-interceptor-from-the-xml-file--tp15074977p15074977.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to