• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I need help of Stuts2 file download

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
difficult to find solution... you are trying to compensate network problem with your server side code.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic