Struts2 java.io.FileNotFoundException
写了一个Struts2 上传文件的小程序,文件会放在images这个folder 下面,
String realpath = ServletActionContext.getServletContext().getRealPath("/images");
结果总是报错。 错误内容为:
严重: Servlet.service() for servlet [default] in co
原创
2017-05-02 22:25:54 ·
1128 阅读 ·
0 评论