Hi, I got some questions Upload - when im doing the uplaod of a file from the client, how will i get the size of the file. Im using ServletInputstream to read the file. And its available() method returns 0. Download a file- Do we have any method to know whether a file which is requested by the client got downloaded fully or not. I want the status of the download. Thanks in advance Siju
I'm not quite sure what you want to do exactly but I'm assuming you want to monitor file upload progress. You can read the Content-length and set a session variable that stores the progress of bytes read vs Content-length.