已采納回答 / Sophomore
因為spring在3.1之后的版本中把 AnnotationSessionFactoryBean與LocalSessionFactoryBean集成到了一起,統(tǒng)一用org\springframework\orm\hibernate4\LocalSessionFactoryBean。?不再有AnnotationSessionFactoryBean類;?但是org.springframework.orm-3.1.1.RELEASE.jar 依然保留有org\springframework\orm\hibern...
最新回答 / 么么小跳跳
struts:<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" "http://struts.apache.org/dtds/struts-2.3.dtd"><struts>? ? &;papackage name="bl" extends="struts-defa...
2017-04-15
最新回答 / 亨利_慕粉4190963
哦,我有錯,spring在action類中明確注入的是productService,沒有注入product的,不好意思說錯了
最新回答 / Jody2328
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework...
2017-04-13
produceDao 方法寫死了不好 繼承一個prodeuceDaoImpl 更好
2017-04-12
最新回答 / Sophomore
你沒有導(dǎo)入c0p0的包,在前面的章節(jié)有說到那個jar包在哪里,你回去看一下吧