Download servlet

Hello,

I use

res.setContentType("application/x-www-form-urlencoded");
res.setContentLength(lfile);
res.addHeader("Content-disposition","attachement; filename="+fic1);

for my download servlet and every thing works fine for download. But when I
try to download file using browser, browser's progress bar displays wrong
file size for the file being downloaded. I can download file using my
download servlet, files are good after download but just progress bar is
misleading users who are downloading my files.

Any help about this matter.
My email is vishal_kapadia@hotmail.com
Thanks in advance.
-Vishal

Received on Wednesday, 12 June 2002 06:54:37 UTC