Meaningless Drivel is fun!
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
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 to download a file abc.txt along with its content.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63837

Stream the contents to the response output stream.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how content disposition works
It's not a secret anymore!