-
May 20th, 2009, 12:04 PM
#1
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
#2
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
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules