catch (ClassNotFoundException e) { handleError(res, res.getWriter(), "ServletModule" + moduleName + " not found."); }
catch (IllegalArgumentException e) { handleError( res,res.getWriter(), "ServletModule" + moduleName + " not found."); }
catch (ServletModuleUserException e) {
- handleUserError(res,res.getWriter(), e.getMsg());
+ handleUserError(res,res.getWriter(), e.getMsg());
}
catch (ServletModuleException e){ handleError(res,res.getWriter(), "ServletException in Module ServletModule" + moduleName + " -- " + e.toString()); }
catch (IllegalAccessException e){
// merge with logged in user and messages
SimpleHash mergeData = new SimpleHash();
mergeData.put("session",sessionUrl);
- mergeData.put("login_user", HTMLTemplateProcessor.makeSimpleHash(userEntity));
+ mergeData.put("login_user", userEntity);
if (messageModule == null) messageModule = new ModuleMessage(DatabaseMessages.getInstance());
mergeData.put("messages", HTMLTemplateProcessor.makeSimpleList(messageModule.getByWhereClause(null, "webdb_create desc",0,10)));
HTMLTemplateProcessor.process(res,getLanguage(req,session)+"/"+startTemplate, mergeData,out);