• 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

Progress listener to include parsing & validation

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm currently working on a file upload servlet whereby I use the Apache Commons API and extends the ProgressListener class to monitor the uploading progress.
I've got the basic uploading and progressing monitoring working well.

What I'm trying to accomplish now is to add in validation and parsing functions before writing the files in the server.
Currently, the progress bar shows 100% done but in fact the function is still parsing the file content.

Is there a way for me to include these functions in the progress listener, that is the actual the writing and saving of the file at the server side? Or perhaps a way to set a progress listener to the BufferedWriter?

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic