Tags

links:
http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/beans.html
http://www.javaranch.com/jeanne/Spring_3_Certification_Study_Notes.pdf

summary:
– “resource prefixes” – “classpath:”, “file:”, “http:”
– ClasspathXmlApplicationContext – defaults to classpath:, starts looking from root
of classpath regardless of whether specify “/”
– FileSystemXmlApplicationContext – defaults to file:, uses relative path even if
specify “/”. But “file:/mine” forces an absolute path
– XmlWebApplicationContext – defaults to file: in /WEB-INF/applicationContext.xml, uses path relative to web application

Advertisements