Hi all,

I checked out the struts2 source codes and run struts2-showcase app but
/struts2-showcase/filedownload/download.action is not working. It gives the
following error.

Can not find a java.io.InputStream with the name [inputStream] in the
invocation stack. Check the <param name="inputName"> tag specified for this
action.

RequestURI=/struts2-showcase/filedownload/download.action
Caused by:

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

tag specified for this action. at
org.apache.struts2.dispatcher.StreamResult.doExecute(StreamResult.java:189)
at
org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:178)
at
com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:348)
at
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
at
com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:219)
at
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at
com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at
com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at

Is there a way to correct it or should I wait for the next release?

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/-S2--Error-in-%22File-Download%22-in-struts-showcase-application-tf3703170.html#a10355673
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to