首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

SpringMVC应用细节总结

2012-08-26 
SpringMVC使用细节总结1.controller中获得webIoC容器?ServletContext context request.getSession().get

SpringMVC使用细节总结

1.controller中获得webIoC容器

?

ServletContext context = request.getSession().getServletContext();    WebApplicationContext ctx  = WebApplicationContextUtils.getWebApplicationContext(context); ctx.getBean("menuTreeDao");
?

?

热点排行