Highlighted

Call SlingServlet without using /bin in sling.servlet.paths

avantikas293534

10-07-2019

Hi All,

I am using "sling.servlet.paths=" + "/bin/xyz" to call my servlet using ajax. Is there any way to do it without using /bin i.e. "sling.servlet.paths=" + "/xyz" ? If yes, what are the steps that I need to follow to implement it.

Thanks

Avantika

Replies

Highlighted

Arun_Patidar

MVP

10-07-2019

Add your path in Execution Paths property in below osgi config

Apache Sling Servlet/Script Resolver and Error Handler