Re: Performance Boost for File read

2002-11-17 Thread Dror Matalon
Are you sure that the file read operations are the problem? I would suspect that the problem is more with writing to the textarea or uploading such a big textarea to the server. Is there a reason why you're not unploading the file directly to the server rather than inserting it into the textarea

Re: Performance Boost for File read

2002-11-17 Thread vivek tiwari
Since the process involves reading a file from teh user's hard drive, I am using a trusted applet for this. So the applet running on the client browser reads the file from his hard drive and sets the textarea with what it has just read. So I don't see the point of uploading the file to the server

Re: Performance Boost for File read

2002-11-17 Thread Dror Matalon
The way most people get users to upload large amount of data from the users' hard disk is with HTML upload AKA multipart. You are using an unusual solution, and it's not clear why. You might have very good reasons, but you didn't explain why you're going this way. If you *have* to use your java

Performance Boost for File read

2002-11-16 Thread vivek tiwari
Hi , I am inserting text in a textarea on my jsp page using a trusted applet by reading text from a file in the user's local machine. It takes too long(14 minutes!) for files of size 1MB and above and sometimes the browser hangs for 2MB files. How can I improve the performance of my FILE READ