Trigger Error Code From Sightly | Community
Skip to main content
Level 5
Aug 7, 2019 4:02 PM UTC
Solved

Trigger Error Code From Sightly

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,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Aug 8, 2019 8:04 AM UTC

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

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Aug 8, 2019 8:04 AM UTC

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.

Translate
Arun Patidar