阅读背景:

在spring配置中,使用name vs id有什么区别?

来源:互联网 

In a spring configuration, what is the difference between using name vs id? I'm aware that XML restricts the "id" attribute to be unique in a document and limits the characters for using in the id. But otherwise when declaring a bean, what is the difference between using the "name" attribute vs the "id" attribute?In a spring configuration, what is the differen




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: