Hi,
Is it possible to call a slingservlet from any node in crx.
Please find the attached screenshot explaining the requirement.
Thanks
Akshita
Solved! Go to Solution.
Views
Replies
Total Likes
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" })
Views
Replies
Total Likes
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" })
Views
Replies
Total Likes
Hi,
can you please elaborate, how you want to call the servlet? Do you want to create a dialog, which calls the servlet?
Jörg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies