tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Download servlet with resume
Date Mon, 02 Feb 2004 13:55:57 GMT
Please follow up with tomcat-user since this is a user topic.

What you'll want to look at is utilizing the Byte-Range header. it is a 
standard way for a client to get only part of a request. DefaultServlet has 
support for this so if you need some example code, look there.

-Tim

Patrik Andersson wrote:

> Hi all!
> 
> I have been trying to find information on how to make a java-servlet for
> download of content from the Tomcat-server without success.
> The content differs from images, mp3's etc etc and I need the servlet in
> order to do some database-stuff. The content also differs very much in size
> and I need some way to be able to resume the download on big files as some
> of the clients communicating with the servlet are mobile phone useing GPRS,
> and as this is not the fastest communication and it might loose connection
> during download.
> 
> Therefore I'll ask you if anyone has any information, links, samples etc to
> help me with this.....
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message