Hi,
I am using a
jsp file to open an excel file by using the following Syntax:
<%
String fileName = (String)session.getAttribute("fileName");
%>
<html>
<meta http-equiv="refresh" content="0;URL=<%=fileName%>">
</html>
This code opens up a dialog box that prompts user to OPEN/SAVE the file.
Now, my requirement is that if user saves the file, I want to close the browser window automatically... if he opens it, nothing should happen..
Thanks in advance