wood burning stoves 2.0*
The moose likes Servlets and the fly likes how content disposition works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how content disposition works" Watch "how content disposition works" New topic

how content disposition works

shriram iyer
Ranch Hand

Joined: Dec 10, 2003
Posts: 43

When i run the above servlet file abc.txt is getting saved,but without content.how to download a file abc.txt along with its content.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60739

Stream the contents to the response output stream.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: how content disposition works
Similar Threads
Should the download code be modified specially for office2003
download link in jsp ?
How to Specify the dynamic name for setting a file for downloading?
making a download servlet to service download managers
Content-Disposition: Download file name problem