最近在研究Spring MVC框架~發(fā)現(xiàn)一個(gè)問(wèn)題.
根據(jù)源碼的實(shí)例:
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
那么配置文件不就是只能有一個(gè)了嗎?那么要是在大型的系統(tǒng)里面,Control很多的情況下。這個(gè)文件不回冗余嗎?調(diào)試不好調(diào)試,找bean 也不好找。那要怎么樣才能配置多個(gè)配置文件了????
posted on 2006-06-21 11:35
Dragonofson 閱讀(973)
評(píng)論(1) 編輯 收藏