velocity 加载web-info 下模板
String vmTemPath = request.getSession().getServletContext().getRealPath("/")+ "/WEB-INF/velocity/";String tmpName="news.vm";Map<String,Object> params = new HashMap<String,Object>();params.put("title", title);params.put("context", context);params.put("pathList", pathList);params.put("date", TimeUtil.formatDate(new Date(), "yyyy-MM-dd"));params.put("newsId", fileId);exportFileUtil.createHtmlByVelocity(fileId, fileUploadHelper.getHtmlPath()+File.separator+"news", tmpName, vmTemPath, params, "newsMap");