[EMAIL PROTECTED] wrote:
> 
> I have a document store where the documents are served through a servlet for 
>security purposes, but the problem is that when the user saves the document, the 
>document is called something along the lines of
> 
> file_upload.jsp?file_id=23113
> 
> And the user has to rename it to whatever.doc or whatever the document happens to be.
> 
> So how could I make it so that the file is sent as:
> whatever.doc?

Content-disposition header should do it
-- 

=anton=
http://www.nezzwerk.com/seven
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to