I have the following action (slightly edited to remove identifying info):
And the following global allowed methods:
And these buttons:
As you can see, the update method is defined in the global-allowed-actions list, but the refresh and back methods aren't. However, what happens is that the update button with the update method works and updates the user, the refresh action shows the "method is not allowed" error screen and doesn't update the user(both as expected since update is defined in the allowed methods and refresh isn't), but the back button DOES actually work even though it's not explicitly defined in the global-allowed-methods section.
I'm trying to understand why out of 2 methods both not defined as allowed-methods, one is correctly blocked as "not allowed" while the other is still allowed through. If I add ",refresh" to the global-allowed-methods and restart tomcat, the refresh button ends up working afterwards as expected, and the back button stays functional. I don't use the plugin that adds the Allowed Methods annotation, and this same situation also happens when using s:submits with method="back" defined, even if there is already a method defined on the action entry in struts.xml.
Update: I have done some more testing, and it appears that another action with similar definition but a different method (method:delete on an AntDeleteAction) also works without having to explicitly define delete on the global allowed methods list.