This is just for the struts-upload example you're currently using.  The UploadAction included with that example is responsible for printing it out to the jsp (actually, it prints it out into memory, then saves it as a request attribute.... really bad thing to do in a real application environment)
 
As for the performance issues, yes, I've just witnessed the same problem.  There was a similar problem like this before, and a fix.  I'll try to put in a fix within the next day or two, I'm fairly bogged down with other stuff to do.

-----Original Message-----
From: Maya Muchnik [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: struts-upload, Tomcat and performance

Hi,  Michael,
Why need to print file out to a jsp page, and not use "ftp" or similar command for transmission?
So, I am asking "stupid" question.
Maya

"Schachter, Michael" wrote:

 Alain,Keep in mind that the struts-upload app re-reads the file and prints it out to the jsp page.However, I'm testing the performance myself over here to make sure, if there are any pressing issues they will be fixed before a 1.0 release.  Thank you.
-----Original Message-----
From: Alain Hubert [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 11:50 AM
To: '[EMAIL PROTECTED]'
Subject: struts-upload, Tomcat and performance
 
Hi,My environment: WinNT4, JDK1.2.2, Tomcat 3.2.1, Struts (Feb 14 build).For our application, we need file upload capabilities. Before using themultipart-request handler of Struts, I must be sure it performs well formiddle-sized files (maximum 10 MB). So I tested the struts-upload exampleand I get the bad following result: 110 seconds to upload a 3.6 MB file!And the test was purely local (client browser and server on the same PC).Can someone tell me if it is a problem with the implementation or withmy environment (Tomcat?).Thanks in advance,-alain// Alain Hubert// Software Engineer @ IconMedialab Belgium// Tel +32 2 506 23 26   // Fax +32 2 506 23 00  

Reply via email to