2016-03-06 11:06 GMT+01:00 Greg Huber <gregh3...@gmail.com>:
> ....Ahhhhh, sorry, here it is again,
>
> <package name="mypackage" namespace="/" extends="struts-default">
>
> <interceptor-stack name="myStack">
> ..
> </interceptor-stack>
> ..
> <default-interceptor-ref name="myStack" />
> ..
> <package>
>
> <package name="package-member" namespace="/myNamespace" extends="mypackage">
> ....
> <action..>
> <interceptor-ref name="store">
>    <param name="operationMode">STORE</param>
> </interceptor-ref>
> <interceptor-ref name="myStack" />
> </action>
> ....
> <package>

It's exactly the same configuration as in the example app and it works
there properly. Just one remark: defining per action interceptors
stack overrides per package defined stack but just for the action

> I was looking to see where this gets built, which class does the building?

Per action interceptors are loaded here
https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProvider.java#L455


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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

Reply via email to