最近在研究Spring MVC框架~發(fā)現(xiàn)一個問題.
根據(jù)源碼的實例:
It is named based on the servlet-name from web.xml with '-servlet' appended. This is a standard naming convention used in the Spring Framework
那么配置文件不就是只能有一個了嗎?那么要是在大型的系統(tǒng)里面,Control很多的情況下。這個文件不回冗余嗎?調(diào)試不好調(diào)試,找bean 也不好找。那要怎么樣才能配置多個配置文件了????
posted on 2006-06-21 11:35
Dragonofson 閱讀(973)
評論(1) 編輯 收藏