wood burning stoves 2.0*
The moose likes Servlets and the fly likes File name and extension Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "File name and extension" Watch "File name and extension" New topic
Author

File name and extension

Pankaj Kumarkk
Ranch Hand

Joined: Apr 17, 2011
Posts: 108
How do put file extension and file name when I am sending a file as a repsonse of servlet.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Look up the content-disposition header.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File name and extension
 
Similar Threads
Create ZIP file from servlet
Problem with Jar download code in servlet
Doubt in HTTPServletResponse
Load class from Jar file
problem running the download JAR application