使用spring向service里面注入dao不成功。 因为原来的程序没有使用spring。后来加spring的时候action有个地方的new没有改!!! new了个新的实现层 不是spring管理的对象。