Use a "Content-Disposition" header:

  data.getResponse().setHeader("Content-Disposition", "inline; filename=" +
fileName);

Kevin


-----Original Message-----
From: Phee, Martin J (Jump Tech) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 8:45 AM
To: 'Turbine Users List'
Subject: RE: Returning a file through a screen with a specific name...


I'd be interested to know also.

-----Original Message-----
From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:36 AM
To: [EMAIL PROTECTED]
Subject: Returning a file through a screen with a specific name...


Hi
    Does anyone know how to create a screen which sends a file with a
specific name? Let's say I have a RTFGenerationScreen, which will return a
RTF which I would like to be named "report.rtf". I think it may be something
around the headers of the response, but I am not sure. Any idea? Thanx

Rodrigo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to