Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
Just getting up to speed with the new annotations(finally abandoning scr, already missing @SlingServet ), what is the preferred approach for writing meta-type annotations for Servlets.
Let's say I wanted to create servlet for following asset:
How does best practice implementation looks here?
Read this: Apache Sling - Servlets and Scripts
Looks like you want to bind a servlet to content. In this case - you want to bind a servlet to a resource sling.servlet.resourceTypes.
Sure, will do.
Thank you, Scott.