On Sunday 26 April 2009 04:27:28 pm Andreas Joseph Krogh wrote: > On Sunday 26 April 2009 10:10:29 pm Musachy Barroso wrote: > > But you always map a url to a method, an action is not executed, a > > method is. Even if you don't specify a method, "execute" will be used > > by default. > > I like the methods to be a parameter (&method:next=true for calling > MyAction.nex() for example) not part of the URI itself.
Hmm... that sounds sort of dangerous to me :), but if it is functionality you would like, feel free to create a patch. Just make sure that it is behavior you can only activate by setting a configuration parameter. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
