May 20th, 2009, 12:04 PM
ClassPathResource and FileSystemResource
I COULD not understand what is meant by ClassPathResource (Implementation class of the Resource Interface )
How is this different from a FileSystemResource ??
The docs says that ClassPathResource takes the classpath . What exactly a classpath is meant and how is this different from the FileSystemResource.
Thanks in advance
May 20th, 2009, 04:40 PM
ClasspathResource is something that can be loaded from the Classpath (the ClassLoader, actually) - maybe the resource comes from the file system, maybe from a jar, etc.
May 20th, 2009, 11:53 PM