The only reliable way I have found to get the two major browsers to offer
the correct filename is using the method I outlined in my previous message.
Perhaps you can have '/MyServlet?getFileid=1' redirect to
'/MyServlet/filename.zip', assuming that 'filename.zip' was specified by
File ID 1.

Chris

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Scott
> Neufeld
> Sent: Tuesday, March 23, 1999 2:10 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Naming files in Download servlet
>
>
> That could work in certain cases... However, I also have a
> situation where I'm
> specifying an identifier as opposed to a filename... i.e. I pass
> "MyServlet?getFileid=1", my servlet retrieves the object
> referenced by "1" in
> the database, and sends it back to the user.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to