2015-10-06 11:46 GMT+02:00 Volker Krebs <volker.kr...@abas.de>:
> One thing,
> when using extends the allowed-methods won't be merged.
> Only the ones from action definition are used.
>
> E.g.:
> <package name="my-default" extends="struts-default">
>    <global-allowed-methods>m1,m2</global-allowed-methods>
> </package>
>
> <package name="my-app1" namespace="/app1" extends="my-default">
>    <action name="a1">
>      ...
>      <allowed-methods>m3,m4</allowed-methods>
>    </action>
> </package>
>
> /app1/a1!m3.action is working.
> /app1/a1!m1.action is *not* working.
>
> I think it is ok, but should be clarified in the docs.

It's a bug, thanks for bringing this up! Resolved :)


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

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

Reply via email to