I am trying to call one of the sling model methods from servlet but I could not adapt the resource object to the sling model. Here is my sling model. @Model(
adaptables = { SlingHttpServletRequest.class, Resource.class },
adapters = ProductDetail.class,
resourceType = Prod...