Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
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.