I'm struggling to override the default out of the box json servlet. I
want to create my own for a specific resource type and when a specific
selector is used. However it seems to keep calling the default. To be
clear I want to keep the default servlet in all other scenarios. My
annotations for the custom servlet are:@SlingServlet(methods =
{HttpConstants.METHOD_GET}, metatype = true, resourceTypes =
{"wtr/components/structure/offertypepage"}, selectors = {"mapper"},
extensions = {"json"})and if ...