struts2文件上传产生Source 'x.tmp' does not exist
使用struts2实现文件上传时,产生Source 'xxxx.tmp' does not exist异常。
原因很简单,你选择上传的那个文件是空文件,你再次选择一个不是空的文件上传时就不会报异常信息了。