This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hi.. I'm quite new with jsp.. i need help from you to solve my problem... This is the situation.. Page 1 <a href='excel_format.jsp' target='newwin'>Excel</a> Page 2 <%@ page contentType="application/vnd.ms-excel"%> when i click page 1 there will appear popup window for File download and have 2 options which is "open this file from its current location" and "save this file to disk". The first option is fine, but the problem is when i select 2nd option or click cancel button, the new window will appear and display "Action canceled". Is there any solution to avoid new window appear if 2nd option had been selected or when click cancel button or there is another solution that i can control whether to display at file download only 1 option and vice-versa which means that i must write in the jsp page for showing the excel page without asking for saving? Thank you for your help.