You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Kr...@telenor.com on 2008/10/18 13:51:03 UTC

Zero Configuration/Codebehind feature

I am volunteering to make this change in the codebehind-plugin:

@Result(name="nextPage", action=NextPageAction.class, type=ServletDispatcherResult.class)

This would resolve the "value" to be the action-name and namespace of the other zero-configuration class NextPageAction.class.

This would achieve much of the same effect as has happened with spring 2.x annotations, the "bean" name in spring has become insignificant in most cases. With this kind of annotation you could write a whole application without thinking about any action names.

I looked at the ClasspathConfigurationProvider and the change seems to be fairly minor.

Does this seem like an interesting feature ?

Regards,

Kristian Rosenvold