struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pontarelli <>
Subject Re: [s2] Allowed methods
Date Wed, 05 Dec 2007 21:12:41 GMT

> 3. A new @ActionMethod annotation for the codebehind plugin that
> declares a method as callable
Does it make sense to collapse the SU ActionNames and ActionName 
annotations into this new annotation? This annotation could provide 
additional parameters to control the URLs for the method. If we do this, 
it should probably be called Action rather than ActionMethod.

@Action(urls={"foo", "bar"})

We could also add a number of features to this annotation such as 


And support for namespaces:

@Action(urls={"/ns1/foo", "/ns2/bar"})


View raw message