遇到异常:Can not find a
异常原因:返回inputStream的方法返回值为null,因为没有获取到文件名(将文件名放在session域却没在session域中取)
错误代码:myfileFileName = ActionContext.getContext().get("myfileFileName").toString();
解决方案:myfileFileName = ActionContext.getContext().getSession().get("myfileFileName").toString();