tomcat 6 中很多这个异常。 文件能够下载。 等待高手解答!!!!!!!!!!![ERROR] 23-2010-11-19 00:06:23,667 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:06:32,529 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:06:40,742 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:04,684 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:12,723 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:23,377 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:32,764 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:41,585 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:49,412 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:07:56,953 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:08:05,501 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:08:13,710 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:08:22,129 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 [ERROR] 23-2010-11-19 00:08:30,099 method:com.opensymphony.xwork2.util.logging.commons.CommonsLogger.error(CommonsLogger.java:23) - Can not find a java.io.InputStream with the name [downloadFile] in the invocation stack. Check the <param name="inputName"> tag specified for this action.
 

解决方案 »

  1.   

    这个异常太疯狂了,日志文件中都是这样的,几秒就有一条这样的ERROR
      

  2.   

    Check the <param name="inputName"> tag specified for this action.
      

  3.   

    <param name="inputName">  标签有问题
      

  4.   

    是否是struts.xml文件标签的问题?
      

  5.   

    把你的下载那部分的代码和 struts中关于下载的 action 配置文件 发来看看