Expand my Community achievements bar.

Call a Servlet from a Model class

Avatar

Level 2

Hello,

I'm using AEM 6.4,

I want to call a servlet from a Model class,

What is the way to do that?

AEM - Questions

3 Replies

Avatar

Community Advisor

Hi,

Why do you want to call servlet from Sling model, what is your requirement?

Other way around i.e. Sling Model Adaptation is possible Performing Sling Model Adaptation Using Request and Resource Objects



Arun Patidar

Avatar

Employee

to me via the httpclient, you can fire http-calls.