boolean loggedUserIsAdmin = "1".equals((String) session.getAttribute("loggedUserIsAdmin"));
boolean loggedUserIsMaster = loggedUserIsAdmin && !org.uengine.util.UEngineUtil.isNotEmpty(loggedUserGlobalCom);
String globalCom = (String) session.getAttribute("loggedUserGlobalCom");
GanttChartWebDAO ganttChartWebDao=null;
GanttChartModel ganttChartModel=null;
try{
ganttChartWebDao = new GanttChartWebDAO(DefaultConnectionFactory.create());
ganttChartWebDao.init(viewYear, endpoint, pd, globalCom, orderby, loggedUserIsMaster,strategyId);
ganttChartModel = ganttChartWebDao.makeGanttChart();
arg1.setContentType("text/html; charset=UTF-8");
arg1.setHeader("Cache-Control", "no-cache");