• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

File Upload Synchronized Servlets

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've come across an interesting problem in that I am trying to write a file uploader.
Basically I am trying to create a file uploader that needs to be synchronized (ie: concurrent multiple accesses) using servlets and jsp's.
(I have tried many different uploaders such as http://www.oop-reserch.com, apache and oreilley's solutions)
The problem I'm experiencing is that either the servlet is not synchronized and I get concurrent uploads clashing, OR the performance is very slow - since the upload happen serially.
Is there anyway round this like the .NET solution to have concurrent uploads?
Due to limitations in the project I'm limited to using servlets and jsp's mainly (and it's not possbile to use EJB's!)
Some how I think this is a serious limitation in either the structure of Java or the the resin webserver (using jdk1.3 resin 2.0.4 - yes I know it's old but it's a legacy)
    Bookmark Topic Watch Topic
  • New Topic