Highlighted

How to create a servlet to avoid CORS errors in AEM 6.3

jakeg58042588

21-12-2017

Hey AEM friends, here is another tutorial. This time on how to avoid CORS errors (when using AJAX) by creating a servlet. Hope you enjoy and as always let me know if you have questions or feedback. Thanks for watching.

How to create a servlet to avoid CORS errors in AEM 6.3 - YouTube

Replies

Highlighted

Radha_Krishna_N

27-12-2017

By creating servlet are we not allowing every request to be processed by the AEM Instance, which will put more load on the server?

Highlighted

edubey

27-12-2017

I assume, in that case you are caching response at dispatcher. which should be fine.

Correct me, if my understanding is wrong on your question.

Highlighted

jakeg58042588

02-01-2018

Not sure I understand your question Radha. The node server will process every request, unless the servlet is cached by dispatcher, as edubey mentioned.