Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

How to migrate acs common custom error handler

Avatar

Level 4

I'm looking for solution for migration below to aem cloud.

 

How to migrate custom error handler which is overlayed to like below 

 

Created the overlay for 404.jsp

/apps/sling/servlet/errorhandler/404.jsp
<%@page session="false"%><%
%><%@include file="/apps/acs-commons/components/utilities/errorpagehandler/404.jsp" %>


Then created the overlay for the default.jsp

/apps/sling/servlet/errorhandler/default.jsp
<%@page session="false"%><%
%><%@include file="/apps/acs-commons/components/utilities/errorpagehandler/default.jsp" %> 

3 Replies

Avatar

Community Advisor

@vkarthick 

 

You can create 404.jsp or modify default.jsp based on the project requirement at below path in AEMaaCS.

/apps/sling/servlet/errorhandler

Avatar

Administrator

@vkarthick If you have found out solution yourself, please share it with the community.



Kautuk Sahni