in tiles-request-mustache/src/main/java/org/apache/tiles/request/mustache/MustacheRenderer.java [63:78]
public void render(String path, Request request) throws IOException {
if (path == null) {
throw new CannotRenderException("Cannot dispatch a null path");
}
try {
REQUEST_HOLDER.set(request);
factory
.compile(path)
.execute(request.getWriter(), buildScope(request));
REQUEST_HOLDER.remove();
} catch(MustacheException ex) {
throw new IOException("failed to MustacheRenderer.render(" + path + ",request)", ex);
}
}