public void setCurrentServletContext(ServletContextImpl currentServletContext) {
this.currentServletContext = currentServletContext;
}
public boolean displayStackTraces() {
ServletStackTraces mode = deployment.getDeploymentInfo().getServletStackTraces();
if (mode == ServletStackTraces.NONE) {
return false;
} else if (mode == ServletStackTraces.ALL) {
return true;
} else {