Hi All, I'm currently switching to 2.1.6 and the Convention plugin for configuration. I tend to use POJOs for my Action classes, and map actions to methods. My problem is that when I extend ActionSupport, Convention generates a default mapping to the execute method (which I generally don't provide).
eg. For a class like MyAction below, Convention creates three mappings: /first.action -> MyAction#methodOne; /second.action -> MyAction#methodTwo; /my-action.action -> MyAction#execute; <-- problem: method doesn't exist So, can anyone help me turn off the default mapping to the (non-existent) execute method? Or do I have to provide phony execute methods with default 'nocontent' results? public class MyAction extends ActionSupport { @Action(value = "first", ...) public String methodOne() { // do stuff } @Action(value = "second", ...) public String methodTwo() { // ... } } Thanks for any ideas, Joe Joe Crombie Web Application Developer Department of Agriculture, Fisheries and Forestry, Australia "If you type 'google' into Google, you *can* break the internet" - Jen Barber ------ IMPORTANT - This message has been issued by The Department of Agriculture, Fisheries and Forestry (DAFF). The information transmitted is for the use of the intended recipient only and may contain sensitive and/or legally privileged material. It is your responsibility to check any attachments for viruses and defects before opening or sending them on. Any reproduction, publication, communication, re-transmission, disclosure, dissemination or other use of the information contained in this e-mail by persons or entities other than the intended recipient is prohibited. The taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error please notify the sender and delete all copies of this transmission together with any attachments. If you have received this e-mail as part of a valid mailing list and no longer want to receive a message such as this one advise the sender by return e-mail accordingly. Only e-mail correspondence which includes this footer, has been authorised by DAFF ------ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org