Can anyone tell me how to open a Save As Dialog Box in JSP?
<a href="#" onClick="doSave()"> <img src="save.gif" alt="Save As"></a>
I need to eliminate doSave
in JavaScript and I have to implement this in a JSP. I searched and the execCommand
is not supported in Netscape browsers. Please provide a solution that is cross browser compatible. I have lost my two days with googling on this. :( :(
We can't raise save as option automatically using jsp.Because save as is a client side option. Only solution i got (without writing js) is the user have to save the file/image using right click say "save as".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.