Spring 外部注入Bean (JAX-WS)
摘要:最近在SpringMvc中通过JAX-WS 来实现webservice,但是由于webservice没有在Spring容器中,所以需要Spring的dao,通过标签@Autowired 等方式得到的都是null 那么可以使用以下两种方式得到bean: 第一种方法(spring4...
阅读全文
posted @ 2015-05-08 19:40
posted @ 2015-05-08 19:40