日期:2014-05-17  浏览次数:20636 次

S2SH 中request的问题
框架用的Struts2 hibernate spring 
因为业务需要tomcat启动时 就要拿到spring配置文件里面的bean
action implements ServletRequestAware

请问 ServletRequestAware 的request 怎么写入spring配置文件

------解决方案--------------------
你直接在java代码里把值写好了,为什么要写入spring配置文件呢