Results 1 to 3 of 3

Thread: ClassPathResource and FileSystemResource

  1. #1

    Default 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

  2. #2

    Default

    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.

  3. #3

    Default

    Thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •