When generating and sending a rtf file from a servlet, the browser ask for
- display from current location
- saving the document
When "display from current location" is chosen by the user, the servlet
receives a second request (that means the file will be generated a second
time), when "saving the document" no additional request is sent to the
servlet.
The following parameters are set for sending the rtf document:
aRes.setContentType("application/rtf");
aRes.setHeader("Content-disposition","attachement;filename =
myDocument.doc");
I appreciate any hint/idea to avoid the additional request.
Thanks in advance
Reto Badertscher
---------------------------
i[net-systems
i-netsystems GmbH
Seestr. 325, CH-8038 Zürich
phone: +41 (0)79 644 37 94
http: www.i-netsystems.com