On Sunday 26 April 2009 09:24:38 pm Musachy Barroso wrote: > The annotation was allowed to be applied to classes in 2.1.6, but it > was ignored. For 2.1.7 it will be allowed only in methods.There are no > advantages in having multiple @Action annotations at the class level, > instead of the method level.
I dissagree. I find it very useful to be able to alias actions with different names/patters for the same Action-class and use its methods for operating on them. I've yet to find it useful to map actions to a method, it's too coupled IMHO. This limitation one of the main reasons I still map my actions in struts.xml. -- Andreas Joseph Krogh <[email protected]> Senior Software Developer / CEO ------------------------+---------------------------------------------+ OfficeNet AS | The most difficult thing in the world is to | Rosenholmveien 25 | know how to do a thing and to watch | 1414 TrollÄsen | somebody else doing it wrong, without | NORWAY | comment. | | | Tlf: +47 24 15 38 90 | | Fax: +47 24 15 38 91 | | Mobile: +47 909 56 963 | | ------------------------+---------------------------------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
