Bypassing Apache Sling GET Servlet

kfox88

15-06-2020

We have a product called "Dialog" that we would like to render a PDP at {site-root}/products/product/dialog.html but ‘dialog.html’ is triggering the Apache Sling GET Servlet's json renderer. Is there a way to bypass this? 

  • I’ve tried disabling the JSON renderer on the Apache Sling GET Servlet, but all this does is prevent the dialog page from rendering and throws a 404 instead.
  • Since our PDP leverages sling mapping, I've tried creating a page at that specific location and it’s still rendering JSON or throwing a 404.
  • And I also tried creating a specific mapping for the dialog product, but the GET Servlet seems to be taking precedent.

Any other ideas?

AEM 6.5.1

Accepted Solutions (1)

Accepted Solutions (1)

Answers (1)

Answers (1)