AEM inserts html info comment in the servlet reponse | Community
Skip to main content
Level 2
January 23, 2020

AEM inserts html info comment in the servlet reponse

  • January 23, 2020
  • 0 replies
  • 1290 views

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.