if(!errors.isEmpty()){
saveErrors(request, errors);
return mapping.getInputForward();
}
UploadFileVo ufvo = new UploadFileVo();
BeanUtils.copyProperties(ufvo, form);
//set the ID of the project which will be associated with this file.
ufvo.setUserId(getAuthenticatedUser(request).getUserId());
service.saveProjectFile(ufvo);
return mapping.findForward(WebConstants.FORWARD_VIEW);
}