Hi,
A kind request / question for the Struts2 development team:

Would you consider *annotation* based injection of session/application 
attributes?
I'm aiming at something like Tom Schneider's "scope plugin" (from the struts2 
plugin repository):
http://cwiki.apache.org/S2PLUGINS/scope-plugin.html

The above plugin has a nice approach IMHO, but is not considered "Struts2 
mainstream" (i.e. is not distributed with struts2 by default, and could 
probably also benefit from some enhancements).
The "mainstream" org.apache.struts2.interceptor.ScopeInterceptor is great, but 
unfortunately relies only on XML configuration - wouldn't you agree that 
annotations can be cleaner and easier to maintain (as already proven with 
struts2 validators...)

Thanks very much :)

       

Reply via email to