Ankh

Results 5 comments of Ankh

i did not set timeout,how to set this value?

Is the same solution for the second problem?

估计是因为是webapplication初始化而不是rootapplication初始化的原因。web.xml在配置时,将配置文件配置在dispatcherservlet中初始化了,这样子避免了一个bean 使用范围的问题

这样子,用org.springframework.web.context.ContextLoaderListener这个监听器加载dao和service,web在servlet中加载试试。

http://blog.csdn.net/hengyunabc/article/details/47072637 记得结果告诉我下。。