Hi
I have the following setup of my struts2 xml.

in cus.xml
<struts>
   <package name="cus" extends="defaultPackage">
.......no interceptors defined, using interceptors form defaultPackage

in cus-cus.xml
<struts>
   <package name="cus-cus" extends="cus">
   <interceptors>
      <interceptor-stack name="newInterceptorStack">
    ....new interceptors....
      </interceptor-stack>
  <interceptors>
  <default-interceptor-ref name="newInterceptorStack"/>


But all now all the Actions defined in cus.xml uses the newInterceptorStack
as the default interceptor.
I only want the Actions defined in cus-cus.xml to use the
newInterceptorStack as the default interceptor.

Using Struts 2.3.x

Please advice

Thanks

Reply via email to