Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3259

support spring @Autowire on Action

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.1.6
    • None
    • Plugin - Spring
    • None
    • Important

    Description

      public class UserAction extends ActionSupport{
      @Autowired
      private UserManager userManager;
      public String execute(){
      //TODO xxx
      }
      }

      or Use xwork @Inject instead?

      Attachments

        Activity

          People

            Unassigned Unassigned
            quaff Yanming Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: