--- Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > Jade Yaqiong Fang wrote: > > >I have the problem with the file upload validation error. Actually I can upload files correctly within the file size limit. but the behavior changes weird when I got the file upload size up limit error. For example: I set up 4M as the limit size, With a 3M file it works fine. With a 5M file I get errors on logs but upload goes on in the browser, and it just goes forever, I will wait longlong time and nothing refreshed , long time later, it might just get a time out error.
If i set the size-limit to "10M", 5M upload works well in less than a seconds, but a 11M upload takes forever again. I get file-size error logs in the first request seconds,and I get all the log info for the new jsp page preparation, I just never saw that new jsp page displayed in my browser.... and I change the size limit to higher, as long as within the file size limit, it works fine, and if I upload a file above the size limit, i can get the file size error log, but never get the next jsp page come back. Actually, I take back my words, if I config struts-config.xml to sth simple jsp page without form, it works and display the error msg, however, if the forward page contains multipart/form-data enctype, the browser just hang on forever. I am using struts 1.1, and tomcat 5.0.27. I tried the example, and also has the validator problem. I am so lost now...Please help! Thanks. > > Exactly the same situation with v1.2. > > Cheers, > > Manos > So How can I avoid it? I definitely will have a lot of file upload in many jsp pages, and need them to be validated . Is there any way to turn around? Thanks. __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]