Hi,

I have written a servlet that let's a user download files located in a
database, the problem is that the user clicks on a link that looks like
this:

<a
href="/servlet/FileServlet?command=get_file&file_id=1234">LargeFile.doc</a>

now when the save file dialog box pops up, it want to save the file as
FileServlet.zip. I want to modify this so the filedialog box gets the files
real name, that is stored in the database.

I this possible, are there any headers to set or what should I do?

thank you


.henric

| www.abelbaker.com | [EMAIL PROTECTED] |

___________________________________________________________________________
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