[
https://issues.apache.org/struts/browse/STR-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated STR-2478:
-------------------------------
Fix Version/s: 1.4.0
Assignee: (was: Struts Developers)
> DownloadAction needs to be able to specify the name of the file on the
> browser side
> -----------------------------------------------------------------------------------
>
> Key: STR-2478
> URL: https://issues.apache.org/struts/browse/STR-2478
> Project: Struts 1
> Issue Type: Improvement
> Components: Extras
> Affects Versions: 1.2.7
> Environment: Operating System: other
> Platform: Other
> Reporter: Jim Filreis
> Priority: Minor
> Fix For: 1.4.0
>
> Attachments: StreamInfo_modification.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.