Sling Servlet Helpers
Problem Statement: How can I invoke the Sling servlet from the OSGI service or from Sling Model? Introduction: We are aware of invoking a service by using @Reference @OSGiService if are referring to any other sling model inside the Sling servlet you can also use adaptTo({class-name}.class) to invoke a sling model within a servlet. But is there any way we can invoke servlet from the Sling…
View On WordPress
















