This figure shows how the JSP container executes a request for a JESI template. It shows a page that consists of the following:

1. A first template block
2. A first fragment
3. A second template block
4. A second fragment
5. A third template block

The request, since it is for the template only, results in the three template blocks being processed but the two fragments being skipped. The resulting response consists of the following:

1. The first template block
2. An esi:include element for the first fragment
3. The second template block
4. An esi:include element for the second fragment
5. The third template block