Which has the highest preference during Sling Servlet registration?
Which has the highest preference during Sling Servlet registration?
During Sling Servlet registration, the property sling.servlet.paths has the highest preference. If you specify both sling.servlet.paths and sling.servlet.resourceTypes properties in a servlet, the sling.servlet.paths property will take precedence, and the sling.servlet.resourceTypes property will be ignored.
Ans: A paths. Suppose You have added sling.servlet.paths and sling.servlet.resourceTypes both in servlet. sling.servlet.resourceTypes property is ignored if the sling.servlet.paths property is set.
A is the correct answer