Hi, In Sling script can not be directly executed. So JSPs and Servlets, which are registered in sling are not directly targeted by urls. For any URL, a 'resource' is identified first, and then a script, which can be JSP, Servlet, ESP etc.. is executed for that resource. I understand this for 'content' resources which are in JCR. I am slightly confused when no resource exists and sling uses NonExistingResource. I will try an example.. 1. GET /mycompany/accountsummary.html 2. Sling will try to get resource in JCR repository for /mycompany/accountsummary 3. Its not available in JCR repository, so it uses NonExistingResource. 4. Sling tries to find a script/servlet for path /mycompany/accountsummary?? I am little confused at this point.
I am trying to understand how Servlets registered for a specific path, fit into resource rendering workflow of sling. Thanks, Unmesh
