Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

How can override sling servlet (XMLRendererServlet.java)?

Avatar

Level 1

Hi,

Can anyone please help how to override the below sling servlet. This code is rendering only JCR nodes. But as per my requirement, I need to render whole page.  

http://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/serv...

Thanks,

Rajiv

1 Accepted Solution

Avatar

Correct answer by
Employee

You can implement a custom servlet for your page component which outputs whatever you want.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

You can implement a custom servlet for your page component which outputs whatever you want.