8.4 The ResourceLoader

Prefix Example Explanation
classpath: classpath: com/myapp/config.xml 从classpath加载 |
file: file:///data/config.xml 作为URL导入, 从文件系统
http: http://myserver/logo.png 作为URL导入
(none) /data/config.xml 依赖于ApplicationContext

results matching ""

    No results matching ""