my action is this:
public class FileDownload extends ActionSupport {
InputStream inputStream;
public void setInputStream(InputStream s){inputStream=s;}
public InputStream getInputStream(){return inputStream;}
public String execute(){
return "sendFile";
}
}
and in Struts.xml i've this:
<action name="fileDownload" class="action.FileDownload" >
<result name="sendFile" type="stream">
${contentType}
</result>
</action>
i wish to download a file
--
View this message in context:
http://www.nabble.com/download-file-tp24050039p24051377.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]