Further to the above I changed my action annotation url to just show @Action("abc") above my method test.
The result of this is that now it gets to my controller class but from the debug my default method has been set to show(). When the annotation is evaluated in the DefaultActionProxy class it resolves this annotation to match with my method test which is great. However the issue being that when I enter this class my default method has already been set to show in fact this is done in the RestActionProxyFactory class. If the default method had not been set then the code would use the method associated with the annotation as shown below private void resolveMethod() { // if the method is set to null, use the one from the configuration // if the one from the configuration is also null, use "execute" if (!TextUtils.stringSet(this.method)) { this.method = config.getMethodName(); if (!TextUtils.stringSet(this.method)) { this.method = "execute"; } } } So does anyone know how to override this method param being set by default. Maybe something to do with this struts.mapper.getMethodName - The method name to call for a GET request with an id parameter. Defaults to 'show'. but an mot sure All help appreciated -- View this message in context: http://www.nabble.com/Struts-convention-plugin--action-annotations-tp25613013p25613936.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org