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

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.

thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

Stream the contents to the response output stream.


[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: how content disposition works