I want the user to be made to download a .txt file if he click on the download button. But, both netscape and ie open the page in the browser iwndow without giving the user an option to download the file. Can I force the browser to pop up the save as option instead of opening the page in the browser. Thanks Amit
Randall Twede
Ranch Hand
Joined: Oct 21, 2000
Posts: 4095
1
posted
0
a chandra, one way to do that would be to change the extention from .txt to something else(.text maybe?). the only problem with that approach is that the user might not realize it is really a .txt file. there might be a better way but I dont know of it. I hate to say this but, your name does not comply with the Javaranch naming guidelines which can be found at http://www.javaranch.com/name.jsp please register again with a valid name. [This message has been edited by Randall Twede (edited July 07, 2001).]