public static ServletModule getInstance() { return instance; }
private ServletModuleUsers() {
- theLog = Logfile.getInstance(this.getClass().getName());
+ theLog = Logfile.getInstance(MirConfig.getProp("Home") + MirConfig.getProp("ServletModule.Users.Logfile"));
templateListString = MirConfig.getProp("ServletModule.Users.ListTemplate");
templateObjektString = MirConfig.getProp("ServletModule.Users.ObjektTemplate");
templateConfirmString = MirConfig.getProp("ServletModule.Users.ConfirmTemplate");
String idParam = req.getParameter("id");
if (idParam == null) throw new ServletModuleException("Falscher Aufruf: (id) nicht angegeben");
try {
+ //theLog.printInfo("Showing User with id: " + idParam);
deliver(req, res, mainModule.getById(idParam), templateObjektString);
}
catch (ModuleException e) { throw new ServletModuleException(e.toString());}