struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhouyanming (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3259) support spring @Autowire on Action
Date Wed, 23 Sep 2009 03:28:48 GMT

    [ 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.


Mime
View raw message