[
https://issues.apache.org/struts/browse/WW-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46826#action_46826
]
zhouyanming commented on WW-3259:
---------------------------------
sorry,it supported already,please close this ticket,thanks.
> support spring @Autowire on Action
> ----------------------------------
>
> Key: WW-3259
> URL: https://issues.apache.org/struts/browse/WW-3259
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Spring
> Affects Versions: 2.1.6
> Reporter: zhouyanming
>
> public class UserAction extends ActionSupport{
> @Autowired
> private UserManager userManager;
> public String execute(){
> //TODO xxx
> }
> }
> or Use xwork @Inject instead?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.