Город МОСКОВСКИЙ
00:04:55

15. Apache Sling resource resolution with example

Аватар
Учим Делать с Страстью
Просмотры:
28
Дата загрузки:
26.09.2023 08:50
Длительность:
00:04:55
Категория:
Обучение

Описание

AEM Tutorial: Apache Sling script resolution : In this video we will see how Apache sling resolves the url.

Fist, it decomposes the url in different part and looks for the path and finds that path in jcr. If exists, it take the property value of sling:resourceType. Using this value which has page rendering script, it look for it in apps folder. If exists, then it applies the rules for finding the best match for the script. Priority of best match is given below:

1) selector + extension
2) selector
3) extension
4) default script
5) method

If no match found then it look in libs and again not found then it throws 404 page not found. THis is how sling resolves the script in AEM

share, support, like and subscribe
Subscribe : https://www.youtube.com/channel/UC5Lc...
LinkedIn : https://www.linkedin.com/in/pankaj-ch...
Facebook : https://www.facebook.com/pankajchhatri
Twitter : https://twitter.com/pankajchhatri
Google plus : https://plus.google.com/u/0/+pankajch...

About : AEM tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.

Рекомендуемые видео