Hi,
When a Sling servlet is defined using paths, similar to:
@SlingServlet(paths = "/bin/example", ...)
It is accessible via localhost:4502/bin/example.
When it is defined using resourceTypes, similar to:
@SlingServlet(resourceTypes = "foo:example", ...)
Under what URL(s) will be accessible?
Also when does it make sense to define a servlet using resourceTypes rather than paths?
Thanks.