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

2003-07-01 Thread Nicolas De Loof
I made some test on another Win2k PC with tomcat 4.1.24
I get the same browser waiting bug with *long* JSP on this config.

I can send a modified struts-upload.war file (1Mo) if you want to test
(upload.jsp changed to add 900 HTML lines)

Nico


 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 [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2003-06-30 Thread Nicolas De Loof
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 [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]