aspose file tools*
The moose likes I/O and Streams and the fly likes Progress listener to include parsing & validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Progress listener to include parsing & validation" Watch "Progress listener to include parsing & validation" New topic
Author

Progress listener to include parsing & validation

Lilian Chase
Greenhorn

Joined: Jun 14, 2010
Posts: 24
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.
 
subject: Progress listener to include parsing & validation
 
Similar Threads
get file upload progress for multiple files
Best way to guestimate upstream bitrate?
data loss during file transfer from applet2servlet
get zero bytes file from ftp
JSF: Performance for Mr.Bill