Can not find a java.io.InputStream with the name .

Can not find a java.io.InputStream with the name ....

struts2下载时出现如下异常

java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [dowLoadFile] in the invocation stack.

原以为时方法名getDowLoadFile()在action中没写好。可是调试设置断点后确进入并执行了getDowLoadFile()方法 。继续单步调试 发现return new FileInputStream(path);中的path路径出错 。。。