Announcement Announcement Module
Collapse
No announcement yet.
Diff between ClassPathResource & ServletContextResource. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Diff between ClassPathResource & ServletContextResource.

    Can someone please tell me what exactly is the diff between a ClassPathResource & a ServletContextResource?

  • #2
    What does the name tell you...

    ClassPathResouce - reads resources from the class path (javadoc).
    ServletContextResouce - reads resources from the web app root (javadoc).

    Comment

    Working...
    X