问题描述:

I am writing a web project in spring 3.1.0.

How can I link the interface and the class so that i inject Initialized interface to @Controller ?

Thanks

网友答案:

You'll have to use context:annotation-driven and @Autowired annotation for this . Check the documentation here.

相关阅读:
Top