File download using servlet and jsp. File Dialog comes twice

Hi

I was trying to download a file using servlet. There is a link which calls the servlet. When I click on the link file dialog box comes up. On selecting Open it again shows me the file dialog box. I changed the method from POST to GET and it worked properly.

My question is why does it work with GET and not with POST. I am aware of the differences between POST and GET but am not able to come to a rational explanation for this behaviour.

Please if anyone can explain this to me I am going crazy thinking an answer for this.

Thank you.

Regards

Jay

[593 byte] By [jaygabaa] at [2007-10-3 1:04:58]
# 1
Hi Jay, I also have the same question. Why does it work with GET and not for POST?. If you were able to find the answer please let me know. Thank you.Regards,Aravind
mar268a at 2007-7-14 18:01:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi AravindI was not able to get an answer for this so far. RegardsJay Gaba
jaygabaa at 2007-7-14 18:01:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
hi just click below link http://javasoft.4000webs.com/tutorials/filedownloader.htmlby Arunkumar Subramaniam
Arunssofta at 2007-7-14 18:01:25 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...