try {
theLog.printError(errorString);
SimpleHash modelRoot = new SimpleHash();
modelRoot.put("errorstring", new SimpleScalar(errorString));
modelRoot.put("date", new SimpleScalar(StringUtil.date2readableDateTime(new GregorianCalendar())));
HTMLTemplateProcessor.process(res,MirConfig.getProp("Mir.UserErrorTemplate"),
try {
theLog.printError(errorString);
SimpleHash modelRoot = new SimpleHash();
modelRoot.put("errorstring", new SimpleScalar(errorString));
modelRoot.put("date", new SimpleScalar(StringUtil.date2readableDateTime(new GregorianCalendar())));
HTMLTemplateProcessor.process(res,MirConfig.getProp("Mir.UserErrorTemplate"),