HTTP Download. 2003-12-10 - By Abdul Wahab
Back Hi,
Im using servlet to download the file to client in HTTP, the code as follows..
response.setHeader("Content-Disposition", "attachment; filename=\"abc.txt\"");
This works fine in the way of 1st prompting to the user to click on "open" "save" "cancel", assumes user click on "save" and shows the SaveAs dialogue.
But what I need is, upon clicking on download link from my page, immediatly I want to show "SaveAs" dialogue. Is it possible.. and how to do...
Thanks. Wahab.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|