|
|
@ -272,9 +272,8 @@ public class TemplateHandler extends AbstractHandler implements Handler {
|
|
|
|
result.writeTo(response.getOutputStream());
|
|
|
|
result.writeTo(response.getOutputStream());
|
|
|
|
|
|
|
|
|
|
|
|
// we handled this request, break out of handler chain
|
|
|
|
// we handled this request, break out of handler chain
|
|
|
|
Request base_request = (request instanceof Request) ? (Request)request:HttpConnection.getCurrentConnection().getRequest();
|
|
|
|
// is null on SSI template
|
|
|
|
base_request.setHandled(true);
|
|
|
|
if (baseRequest != null) baseRequest.setHandled(true);
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -320,8 +319,8 @@ public class TemplateHandler extends AbstractHandler implements Handler {
|
|
|
|
fis.close();
|
|
|
|
fis.close();
|
|
|
|
|
|
|
|
|
|
|
|
// we handled this request, break out of handler chain
|
|
|
|
// we handled this request, break out of handler chain
|
|
|
|
Request base_request = (request instanceof Request) ? (Request)request:HttpConnection.getCurrentConnection().getRequest();
|
|
|
|
// is null on SSI template
|
|
|
|
base_request.setHandled(true);
|
|
|
|
if (baseRequest != null) baseRequest.setHandled(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|