笔记1
一、ApplicationContext ctx=new FileSystemXmlApplicationContext("classpath:applicationContext.xml");classpath:applicationContext.xml 这里填写classpath中的文件路径如果要加载多个文件:可以用String数组作为参数String[] config={"classpath:dir1/dir2..","classpath:dir3/dir4"}ApplicationCotext
原创
2010-10-13 22:40:00 ·
548 阅读 ·
0 评论