Re: how to download a file using servlets
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Nov 2007 05:01:35 GMT
On Thu, 15 Nov 2007 20:45:22 -0800 (PST), vphanibhushanreddy@xxxxxxxxx
wrote, quoted or indirectly quoted someone who said :
Could any body send me the sample code for downloading a file using
servlets? I had this problem, when i tried to download the res was not
happening as stream, how can i make that please send me sample code?
use a sniffer to have a look at the messages to and from the server to
request a download. If the file is short, you can return it as your
response. If it long, you might need to spawn a separate thread, or
use some feature of Servlets I am not familiar with to handle the long
download.
see http://mindprod.com/jgloss/sniffer.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- References:
- how to download a file using servlets
- From: vphanibhushanreddy
- how to download a file using servlets
- Prev by Date: how to download a file using servlets
- Next by Date: Re: Why can't i declare a static variable in a static method?
- Previous by thread: how to download a file using servlets
- Index(es):
Relevant Pages
|