发生以下错误,怎么解决:
java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name
Can not find a java.io.InputStream with the name [targetInputName] in the invocation stack.
<action name="SU0005DownLoad" method="doDownLoad"
class="su0005Action">
<result type="stream">
<param name="contentType">${fileType}</param>
<param name="inputName">targetInputName</param>
<param name="contentDisposition">
filename=${fileName}
</param>
</result>
</action>
java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name
Can not find a java.io.InputStream with the name [targetInputName] in the invocation stack.
<action name="SU0005DownLoad" method="doDownLoad"
class="su0005Action">
<result type="stream">
<param name="contentType">${fileType}</param>
<param name="inputName">targetInputName</param>
<param name="contentDisposition">
filename=${fileName}
</param>
</result>
</action>
<param name="inputName">targetInputName </param> 有问题。
我的也经常有这问题。
我把tomcat重新解压个,然后部署就是好的。
但说不定什么时候就又不行了。
发布到别的机器上就是行的