since ‎18-04-2015
‎10-12-2019
josh_saunders
Level 1
Re: Issue with Sling Servlet and Resource Types
Avatar

josh_saunders

josh_saunders
- Adobe Experience Manager
I've read that several times. I don't understand what you mean by "change how you are accessing the servlet". Can you elaborate?

Views

976

Likes

0

Replies

0
Issue with Sling Servlet and Resource Types
Avatar

josh_saunders

josh_saunders
- Adobe Experience Manager
I am deploying a Sling Servlet to AEM and would like to use resourceTypes, selectors, and extensions, but they're not working. Paths on the other hand, do work. Any idea what the issue is?This works:@SlingServlet(paths = {"/services/powerproxy/groups"}) public class GroupServlet extends SlingAllMethodsServlet {...}localhost:4502/services/powerproxy/groups result in a HTTP 200This doesn't:@SlingServlet(methods = {"GET"}, metatype = true, resourceTypes = {"services/powerproxy"}, selectors = {"grou...

Views

4.0K

Likes

3

Replies

10
Likes from