Solved
Difference bw these two urls


Hi @preeti5
It is always advisable is to use relative path instead of absolute path so that sling will look for the resources first under /apps(helpful in case of overlay)and then under /libs .
Detailed description you will find here : https://aemmastery.com/aem-osgi-service-dive-resource-resolver-factory-c2521f75be51
Thanks
Dipti
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.