public ActionForward deleteProjectFileType(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
//checkAuthorization(userHasPrivilege(request.getSession(), getPrivileges()));
AttachmentType type = TypeUtil.forKey(AttachmentType.class, request.getParameter("key"));
ScienceProjectService service = getService(ScienceProjectService.class);
service.deleteScienceProjectFileType(type);
TypeLoader.initializeSystemTypes(super.getServletContext());
return mapping.findForward(WebConstants.FORWARD_VIEW);