You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nicolas De Loof <ni...@cgey.com> on 2003/06/30 16:31:06 UTC

Re: File Upload size restriction ?? IT DOESN'T WORK ON STRUTS-EXAMPLE

Making lot of tests, it seems that my problem does occur if the generated HTML is long. I made this test on
struts-upload example webapp :

install struts-upload.war
edit /upload.jsp to add long text (I use struts-validator javascript : 730 lines )
try to upload a > 2Mo file

-> jsp is compiled shortly after file submit
-> browser wait for long time before displaying error messsage

Could someone please make this test on his config ? I'm not sure this troubles doesn't come from my environment (tomcat
4.1.24 - eclipse - win2k - IE 6sp1).



Nico.




----- Original Message ----- 
From: "Nicolas De Loof" <nd...@capgemini.fr>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, June 30, 2003 3:43 PM
Subject: Re: File Upload size restriction ?? [TilesRequestProcessor ?]


> I'm back with my FileUpload problem ...
>
> Here is what I've done to search the problem :
> I added struts-upload example classes and mappings to my app : it works
> I migrate it to use my classes (form-bean, actions) : it works
> I migrate it to use my JSPs : it works
> I migrate it to use my Tiles definition : it fails (browser waits 10 minutes...)
>
> Her is my mapping :
> <action path="/upload"
>         name="UploadForm"
>         scope="request"
>         input="select"
>         validate="true"
>         type="webapp.action.UploadAction">
>     <forward name="select"
>         path="tiles:upload.select" />
>     <forward name="success"
>         path="tiles:upload.done" />
> </action>
>
> If I replace "tiles:upload.select" by "/upload.jsp" (that is used in body of this tile) it works fine : I get quickly
an
> error saying file is too large.
>
> Any idea what I can do to go deeper in my bug tracking ?
>
> Nico.
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org