0
如果我有一個像這樣在我servlet.xml中聲明:<import/>聲明Spring MVC中
<import resource="classes/com/au/curtin/example.xml/>
,並在此具有的Spring bean定義以及像<component:context-scan/>
和<tx:annotation-driven/>
事情目錄位置的的example.xml 。這些語句是否與bean定義一起導入到servlet.xml上下文中,還是需要在我的servlet.xml文件中包含重複的<component:context-scan/>
?
美麗,你是一個紳士和學者先生。非常感謝 – JamesENL 2013-05-08 06:31:13
@JamesMassey:很高興能幫到你! – xyz 2013-05-08 06:47:10