logger.debug("in uploadLogo...");
if (!adminSecurityCheck(request)) {
return mapping.findForward(BaseConstants.FWD_ADMIN_LOGIN);
}
SystemConfigForm systemConfigForm = (SystemConfigForm) form;
String fileAllowedTypes = SystemConfigConstants.CONTENT_TYPE;
int maxFileSize = SystemConfigConstants.LOGO_MAX_SIZE;
ActionMessages msgs = new ActionMessages();
FormFile formFile = systemConfigForm.getLogoUpload();
int height = SystemConfigConstants.LOGO_HEIGHT;
int width = SystemConfigConstants.LOGO_WIDTH;
msgs = validateUploadFile(request, formFile, fileAllowedTypes, maxFileSize, true, height, false, width);
if (msgs.isEmpty()){