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
|