Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: IE goes loopy


Message #1 by seema.bhatnagar@s... on Sat, 19 May 2001 17:37:19 +0200
hi,
 all,
I am trying the following code to download the file using servlet.It wroks
fine in NS but IE goes loopy after the completion of downloading.
Please tell me if anyother heading is required to be added to the header.

res.setContentType("application/force-download " + "name=\"" +
defaultFileName_ + "\"");

res.setHeader("Content-Disposition","attachment; filename=\"" +
defaultFileName_ + "\"");


thanks


  Return to Index