struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matias Rodriguez <matias.rodrig...@gmail.com>
Subject struts 2.5.2 upgrade & stream action
Date Thu, 14 Jul 2016 14:57:10 GMT
Hi everyone!

I've upgraded to struts 2.5.2 (from 2.5.1 working OK) and getting an error
for a "stream action":


*java.lang.IllegalArgumentException: 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.*
*        at
org.apache.struts2.result.StreamResult.doExecute(StreamResult.java:233)*
*        at
org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208)*

I'm specifying the input stream name using the action method:
    public String getInputName() {
        return "respuesta";
    }

But it seems to not being used. Won't be supported anymore?

Thanks a lot!

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