Expand my Community achievements bar.

SOLVED

Trigger Error Code From Sightly

Avatar

Level 5

Hi,

Is there any convienent and easy to use way out to trigger error codes to check error handling. AEM version 6.5.

Error Codes : 500 , 400, 403

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yes, it is possible please check for reference.

/apps/sling/servlet/errorhandler/404.html

or you can include jsp in sightly which set response code.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Yes, it is possible please check for reference.

/apps/sling/servlet/errorhandler/404.html

or you can include jsp in sightly which set response code.



Arun Patidar