Re: File Download
Paul Lynch <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 23 Jul 2007, at 13:05, WILLIAM GARNETT wrote: > I need to make an XML file from my online database and be able to > download it and have it saved on the user's disk. Can anyone tell > me how this can be done please? Override appendToResponse, and use setContent() using your XML file. You probably want to set the mime type header as well. For further header values that might help, depending on what you want the users browser to do with the XML file, see Chuck's book. Paul