Exception occurred during processing request: Can not find a java.io.InputStream with the name [inputStream] in the invocation stack. Check thetag specified for this action. java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [inputStream] in the invocation stack. Check thetag specified for this action.
CreateTemplate(); String path = ServletActionContext.getServletContext().getRealPath("/Templete"); String filepath = path + "\\"+templateName+".xls"; File file = new File(filepath); return FileUtils.openInputStream(file);
已经找到问题了