Solved
Can we invoke a servlet from sling model ?
Can we invoke a servlet from sling model ?
Can we invoke a servlet from sling model ?
Hi @rgravisankar,
IMHO, as @rgravisankar says, it's not a good practice to call a servlet from a model. Using services makes more sense. To get answer, please read similar thread here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/call-a-servlet-get-request-from-sling-model/m-p/437167
Hope that helps!
Regards,
Santosh
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.