Level 3
May 15, 2017
Solved
Calling Servlet from apps node
- May 15, 2017
- 2 replies
- 858 views
Hi,
From what I am aware of, it is better to use resourceTypes to invoke servlets , than from a specific path. There are multiple articles out there , explaining the same.
@SlingServlet(resourceTypes = { "sample/components/page/homepage" }, methods = { "GET" })
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.