Grouping by Template
Profiling results are automatically grouped by template. This
level of grouping is carried out by a filter in the servlet filter
chain. If, for any reason you do not want the results to be grouped in
this way you can prevent template grouping by removing the
ECEProfileFilter
from the filter chain. For further
information about this filter, see ECEProfileFilter.
Note that the default template grouping provided by
ECEProfileFilter
depends on you using
jsp:include
to transfer control between templates.
If you use any other means of transferring control, then you will need
to explicitly redirect profiling output to a new group yourself by
wrapping template content in a util:profiler
tag as
follows:
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="/WEB-INF/escenic-util.tld" prefix="util" %> <util:profiler path="/wireframe/default.jsp"> ...template contents... </util:profiler>
You are recommended, however, to use
jsp:include
: this explicit grouping will then not
be necessary.