Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

I need help of Stuts2 file download

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Struts2 web application. There is a FileDownloadAction class that is triggered when a form button is pressed. The file is downloaded properly. But because the application is targeted to users in a rural third world country, where Internet download speed is no more 20 kbps and the Internet connection breaks often and the entire process of file download has to resume from the beginning. Is there a way in Stuts2 or Java EE by means of which the file download upon resumption can start from the point at which the connection broke off.

Please help?
 
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
difficult to find solution... you are trying to compensate network problem with your server side code.
 
Bartender
Posts: 9583
13
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Abhay says, resuming a download is part of the network layer, not the application layer (which is what JEE is concerned with).
There's no shortage of download managers that can handle resuming incomplete downloads from the client side. You'd have to test to make sure that these products integrate correctly with your application.
 
Seriously? That's what you're going with? I prefer this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!