AEM htl server side Language | Community
Skip to main content
Level 8
July 11, 2025

AEM htl server side Language

  • July 11, 2025
  • 3 replies
  • 473 views

Hi all,

 

What do we mean by "AEM htl is a server side Language"?

Is HTL code not executing on client?

 

JSP is server side Language or client side?

 

Thanks,

Rama.

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

3 replies

PRATHYUSHA_VP
Community Advisor
Community Advisor
July 11, 2025

Hi @nsvsrk 

 

HTL is server-side template system for HTML language. The evaluation of the expressions and data attributes is done entirely server-side and is not visible on the client-side. 

 

When a client makes a request, AEM process the request at server-side and forwards the response to the client. The client receives only the plain HTML, CSS and JS.

 

JSP is also server side technology. JSP files are processed on the server by a Java-based web server and client receives only front-end files

 

Hope this helps

 

Thanks

nsvsrkAuthor
Level 8
July 11, 2025

Thanks @prathyusha_vp .

 

I want to mark this answer as correct and again I am not seeing that button.

 

Thanks,

RK.

Sid_Gour
Level 3
July 11, 2025

Yes, both HTL and JSP codes are executed on the server not on browsers. Browser only renders the content transferred to it by server. 
Thanks, 

Uppari_Ramesh
Level 5
July 11, 2025

In simple terms, server side language means, all the operations(data-sly attributes removal/rendering) is completely done at server side and these are not visible in chrome or any other browsers as rendering happening at server side.

 

HTL came on basis on JSP itself. Even HTL carries implicit objects from JSP itself. JSP is also server side rendering language.

 

Thanks,

Ramesh.