Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

arunpatidar
Community Advisor
Community Advisor
September 17, 2018

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

Translate
Arun Patidar
Feike_Visser1
Adobe Employee
Adobe Employee
September 17, 2018

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

Translate
smacdonald2008
Level 10
September 17, 2018

As Feike mentions - use Java HTTPClient API as discussed here - Adobe Experience Manager Help | Invoking Adobe Experience Manager Sling Servlets using Apache HTTP APIs

Translate