I am developing a file download
jsp page. But i am facing problem while
supporting download for different mime types. I have some confusions :
1) When i write file with "application/octet-stream", netscape shows
the save dialog box,and save it as a .exe.jsp file. but we can rename it to the actual type and it works fine. so how to instruct netscape to save the file as "application".
(2) If i write the file with "text/plain" mime type, browser opens the
file, but i want it to save the file, instead of opening it.
3) How can i set the file name in the save dialog of the browser?
thanks in advance