aspose file tools*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 61043
    
  66

Look up the content-disposition header.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: File name and extension