struts下载文件错误,想不明白为什么更改变量名就不报错了

java.lang.IllegalArgumentException: Can not find a
java.io.InputStream with the name [is] in the invocation stack. Check
the tag specified for this action.

变量名为is时,浏览器报错

《struts下载文件错误,想不明白为什么更改变量名就不报错了》

变量名为inputStream时,浏览器正常《struts下载文件错误,想不明白为什么更改变量名就不报错了》

《struts下载文件错误,想不明白为什么更改变量名就不报错了》

点赞