Re: File Upload size restriction ??

2003-07-17 Thread Gartha Brindoid
I'm experiencing the EXACT same problem (Win2000, Struts
1.1 RC 1, Weblogic 7, Sun JDK 1.3.1_07).

I've noticed that if my input forward is a simple JSP, it
works fine.  Also, it works fine if the input forward is a
tile definition which simply specifies a JSP, like this:

definition name=tile.struts.upload.upload
path=/upload.jsp/

However, it hangs if I try to get fancy and use some
inheritance in my definitions, like this:

   definition name=tile.struts.upload.upload
extends=tile.main
   put name=window.title.key
value=key.title.window.home/
   put name=body.tile
value=tile.struts.upload.upload.body/
   /definition
   definition name=tile.struts.upload.upload.body
extends=tile.main.body.internalTitle
   put name=title.key/
   put name=content.tile value=/upload.jsp/
   /definition

It does eventually come back with the error message, but
only after 5 - 10 minutes (and I see the second request
just like Nico mentioned).  If I switch to JRockit 1.3.1,
it hangs forever (well, at least as long as lunch :-)

Nicolas, have you or anyone else discovered a
solution/workaround?  Thanks!

best,

garthabrindoid

Nicolas De Loof wrote: 
 That's what I was trying to do and discovered that upload
 behaviour changes when going over Struts configured
 file-size limit (4Mo in my case).
 
 With a 3Mo file it works fine. With a 4,4Mo file I get
 errors on logs but upload goes on in the browser, and
 after a  long while (3 minutes) I get others validate()
 logs (related with no-file errors) and the errors are
 displayed on browser.
 
 I don't understand why I get TWO TIMES validate() logs !!
 
 If i set the size-limit to 6M, 4,4Mo upload works well
 in less than a seconds, but a  10Mo upload takes more
than
 5 minutes. I get file-size error logs in the first
request
 seconds, browser stays for a  (long) while and I get
 second validation error logs.
 
 Using IP or machine name doesn't change anything.

 Nico. 


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [LEGAL] RE: sites powered by struts

2002-09-11 Thread Gartha Brindoid

Devil's advocate...

  
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40462.html

 -Original Message-
 From: Donald Ball [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 4:42 PM
 To: [EMAIL PROTECTED]; struts-
 [EMAIL PROTECTED]
 Subject: Re: [LEGAL] RE: sites powered by struts
 
 [snip]
 
 Not true. If you use struts on your web site or 
 application, you are not required to include any
 acknowledgements. If you distribute a web
 application which uses struts, your documentation must 
 include the acknowledgements as per section 3 of the asl.
 
 - donald


__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]