Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM inserts html info comment in the servlet reponse

rahulb31017943
Level 2
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