Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

AEM inserts html info comment in the servlet reponse

Avatar

Level 2

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. 

0 Replies