Highlighted

AEM inserts html info comment in the servlet reponse

rahulb31017943

23-01-2020

The response of resource types servlet consists of commented HTML code information.

 

extra code in the response :

<!--cq{"decorated":false,"type":"demo/components/structure/page","path":"/content/demo/en/jcr:content","selectors":"data","servlet":"DummyConfigurationServlet","totalTime":1,"selfTime":1}-->

 

 

But when I use a path based servlet then there is no extra code added.

 

Why AEM adds this additional code in the response.

Is there any way to remove this code in the servlet response.