
Originally Posted by
DeadEyes
Do you have access to the server?
By adding a file type of a pdf and saying it' content type is of application/octet-stream,you can force the Save As dialog to appear when the user clicks on a link to a pdf.
hello deadeyes, thanks for the reply.
i actually ddnt need to change the IIS settings.
got it working by using the following (jst in case somebody's interested)
Code:
response.setHeader ("Content-Disposition", "attachment;filename=\"" + request.getParameter("file") + "\"");
but really i do appreciate your time. many thanks.