in src/main/java/org/apache/sling/scripting/core/ScriptHelper.java [146:159]
public void include(String path, RequestDispatcherOptions options) {
final RequestDispatcher dispatcher = getRequest().getRequestDispatcher(
path, options);
if (dispatcher != null) {
try {
dispatcher.include(getRequest(), getResponse());
} catch (IOException ioe) {
throw new SlingIOException(ioe);
} catch (ServletException se) {
throw new SlingServletException(se);
}
}
}