wood burning stoves
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

File name and extension

Pankaj Kumarkk
Ranch Hand

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

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63848

Look up the content-disposition header.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: File name and extension
It's not a secret anymore!