RE: How to make the file to download when clicking on a link --use DownloadAction in struts 1.2.8

2007-02-27 Thread Raghu
In Struts 1.2.8 we have DownloadAction write a class that extends extends DownloadAction implement folloing meyhod - import org.apache.struts.actions.DownloadAction; public class TestDownloadAction extends DownloadAction { protected StreamInfo getStreamInfo(A

DownloadAction in Struts 1.2.8

2006-07-11 Thread Raghuveer
When using download Action 2 Dialogue Windows are opening. Is it wrong in adding response.setHeader("Content-Disposition. --- protected StreamInfo getStreamInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request,