Загрузка страницы

58. Create custom error handler in AEM.

Create custom error handler in AEM: This is the another use case for the sling resource merger.

In this video we will create our own 404 error handler. By default error handler is available in libs folder /libs/sling/servlet/errorhandler. Right click here and select overlay node it will create the same structure in apps folder. Now create 2 files within this folder called 404.html and ResponseStatus.java and copy the code from my github repository given below

https://github.com/pankajchhatri/AEM

Now enter the invalid AEM url into your browser. It will now show error which we have created.

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/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.

Видео 58. Create custom error handler in AEM. канала AEM and Devops Tutorial
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 июля 2018 г. 10:47:00
00:04:11
Яндекс.Метрика