Hello,
I've been tasked with researching a cure for a problem we're experiencing
with a Web-based application we're developing using JSP.
In the application, there is a page with a submit button. Clicking that
button calls a .asp file with this code:
<%@ page import="java.util.*" %>
<%
response.setContentType("application/zip");
response.setHeader("Content-disposition","attachment;
filename=TN15_1.zip;");
File file = new File("e:\\download\\TN15_1.zip");
response.setContentLength((int)file.length());
BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
BufferedOutputStream dataOut = new
BufferedOutputStream(response.getOutputStream());
int b = 0;
while ((b = in.read( )) != -1) {
dataOut.write(b);
}
in.close();
dataOut.close();
%>
The File Download dialog opens. Everything works as it should. However,
after all dialog boxes are close, the cursor remains an hourglass (busy).
Does anyone know why this happens or knows how to fix the problem?
Thanks much.
> Jay White
> Software/Web Developer
> Medical Consumer Media
> 11718 Bowman Green Drive
> Reston, VA 20190
> 703.810.8100 ext 250
> [EMAIL PROTECTED]
> http://www.medcm.com
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html