Why do we need to use getSystemResource() and getSystemResources() method to load resources?

Q

Why do we need to use getSystemResource() and getSystemResources() method to load resources?

✍: Guest

A

Because we want to look for resources strictly from the system classpath, These methods use the system ClassLoader to locate resources, which gives you stricter control of the resources used by the application.

2012-09-12, 2427👍, 0💬