| Author |
Calling windows event "Save As" from JSP
|
KRK Gowda
Ranch Hand
Joined: Nov 02, 2004
Posts: 132
|
|
Hi All, I have a requirement to save a file that is displayed as webpage. i want a popup to appear and ask user. I want to provide Save As option in my webpage but i dont know how to call windows event for Save As. Can anybody tell me how to call windows event Save As from JSP. Thanks and Regards,
|
 |
Joshua Cloch
Ranch Hand
Joined: Apr 27, 2006
Posts: 95
|
|
you may need to convert the webpage file into a outputstream; process this procedure in a servlet is preferred.
|
truehh@hotmail.com
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Search this and the Servlets forum for "Content-Disposition". This tag is responsible for suggesting to a browser how to handle a resposnse. The JspAndExcel entry in our JSP FAQ has some example code that uses this header tag.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Calling windows event "Save As" from JSP
|
|
|