我发送邮件的时候老是说D:\Apache-Tomcat-6-8886\work\Catalina\localhost\ds\upload__61ff68bd_11a9adf38a5__8000_00000003.tmp (系统找不到指定的文件。)我查看spring的API的public void addAttachment(String attachmentFilename,File file)方法时候说
The content type will be determined by the name of the given content file. Do not use this for temporary files with arbitrary filenames (possibly ending in ".tmp" or the like)! 我就操!文件的地址为什么永远是一个.tmp的啊?哪位能给我解释解释啊,十分感谢了!!!
我是用struts2上传的