DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35089>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35089 Summary: DownloadAction needs to be able to specify the name of the file on the browser side Product: Struts Version: 1.2.6 Beta Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Standard Actions AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] As the code is currently written the name of the file downloaded to the client machine is named FileDownload.do (or whatever the URL is). I believe the code needs something like this: response.setHeader("Content-Disposition", "attachment; filename=" + fileName); The user might want to control the filename, but personally I have been using the server-side name. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]