How to configure result in the code

2007-03-28 Thread Shuai Zheng
Dear All, What I want to do is read the files from database and let the user to download them. In the showcase example, I find the following configuration: action name=download2 class= org.apache.struts2.showcase.filedownload.FileDownloadAction param

Re: How to configure result in the code

2007-03-28 Thread Dale Newfield
Shuai Zheng wrote: But I may not know the filename, contentType, etc (because these files are uploaded by the user). http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/dispatcher/StrutsResultSupport.html