![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Servlet
wwwfgx1
不眺望 看脚下 朝一个方向 一步步前进...
展开
-
Servlet中调用 Spring管理的 Service层方法(SSH框架中)
ServletContext servletContext = this.getServletContext(); WebApplicationContext wac = null; wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext); this.userSe原创 2012-06-04 18:21:35 · 1821 阅读 · 0 评论 -
Servlet中调用Spring管理的Bean
ServletContext servletContext = this.getServletContext(); WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext); UserService userService = (User原创 2012-06-28 18:23:22 · 514 阅读 · 0 评论