Approach for creating Sling Servlet
Hi All,
What is the better approach to create a Servelet.
ResoureType or Path Based.
As per documentation it is ResourceType only.
But sometimes it happens that it exposes the internal Structure of AEM may be Content Structure or Component Structure.
It is ok to expose the internal Structure of AEM for creating a Servlet.
Any recommendations for this.