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 : / pankaj-ch. .
Facebook : / pankajchhatri
Twitter : / 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.