Hi friends,

I�m developing a simple servlet to let http user make download of files in
my server.
The problem is that IE is not acting as expected.

I�m using the Content-Disposition header entry to specify what name should
be shown to the user if he/she choses to "save as" the file.
But IE5 is showing the "save as" dialog twice. First with the complete URL
name, and then with the right file name.

I hope there is a bug in my code, so its going to you as an attachment.

I�ve tested this servlet with jwsdk-1.0.1 and resim1.1

Thanks for your help ..

<PS: The code is a bit uggly, but take it easy, its just for tests>


Ricardo Munhoz Santiago

SUN Ceritified Programmer for the JAVA 2 Platform
Eversystems (Research and Development)
www.eversystems.com.br

DownloadServlet.java

Reply via email to