I have a down load servlet in which file download is performed by the following lines od code
response.setHeader("Content-Disposition", "attachment;filename=" + name +";");
then i say
PrintWriter out = response.getWriter();
.But Window is not closes.Could any one tell me what the problem might be!.and is there any way to close browser window.
It will be better if you try the following constuction:
// all event operations