struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: [S2] Error in "File Download" in struts-showcase application
Date Mon, 07 May 2007 12:46:27 GMT
If you create an issue here:

https://issues.apache.org/struts/

it probably will. Thanks for reporting it.

musachy

On 5/7/07, Struts2 Fan <struts2fan@gmail.com> wrote:
>
>
> 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.InputStreamwith
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message