if("".equals(appForm.getFilecontent().getFileName())||name==null||Author==null||desc==null){
request.setAttribute("null", "文件名、作者、描述、文件内容都需要您填写");
return mapping.findForward("sucess");
}
appForm.getFilecontent().getFileName())如果的得到的上传文件的文件名为"",则没有上传文件。