WebApplicationContext wac = WebApplicationContextUtils
.getWebApplicationContext(getServletContext());
ISystemTaskService startupService = (ISystemTaskService) wac
.getBean(BaseConstants.SERVICE_SYSTEM_TASK_LOOKUP);
ISystemConfigService sysConfigService = (ISystemConfigService) wac
.getBean(BaseConstants.SERVICE_SYSTEM_CONFIG);
SystemConfigVO sysConfigVO = sysConfigService.getSystemConfig();
getServletContext().setAttribute(BaseConstants.ORGANIZATION_NAME, sysConfigVO.getOrganizationName());
getServletContext().setAttribute(BaseConstants.ORGANIZATION_SHORT_NAME, sysConfigVO.getOrganizationShortName());
getServletContext().setAttribute(BaseConstants.ALBUM_URL, sysConfigVO.getAlbumUrl());
getServletContext().setAttribute(BaseConstants.FORUM_URL, sysConfigVO.getForumUrl());
getServletContext().setAttribute(BaseConstants.SERVER_URL, sysConfigVO.getServerUrl());