Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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.