> -----Original Message-----
> From: A mailing list about Java Server Pages specification
> and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Larry Hoffman
>
> The problem in the file download dialog box. from Internet
> Explorer.  When
> the servlet starts the download I get the following description:
>
> You have chosen to download a file from this location
>
> "...Updates?OasisEdit.1.4.0.3.zip from [server name here]"
>
> How come the "...Updates?File1.zip" show up like this.  I
> want it to look
> like:
>
> "File1.zip from [server name here]"
>
> Any suggestions????

Try passing the file to download in the path:

ie

   /servlets/download/file1.zip
                     ^
Retrieve the filename using (I think) request.getPathInfo().

I think you will find that /some/ browsers then get the intended filename.

HTH,

Steve

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to