Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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