Re: How to terminate the uploading process of Struts?
My webserver is Tomcat 5.0.30, I've configured the maxFileSize in the controller of Struts, but Struts still upload all the file and then throw exception said that MaxFileSizeExceeded. This is the big problem of Struts, because a malicous user can upload a 1GB file to your webserver to consume the bandwidth. Some guys told me that I've have to use Common Upload to handle this issue. I've not tried yet. Samere, Adam J wrote: > You may be able to configure this in your web server. > > -Original Message- > From: Al Eridani [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 06, 2006 10:29 AM > To: Struts Users Mailing List > Subject: Re: How to terminate the uploading process of Struts? > > On 6/4/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote: > >>Hi experts, >> Can we terminate the uploading process of Struts when the uploaded >> data size is exceeded the max file size configured in the controller >> of Struts. >> > > I believe that this is not a Struts issue. > I remember I tried years ago (not using Struts) and, while I could > terminate the process, I could find no way of clearing the remaining > data that the browser kept sending without reading it, which defeated > the purpose of the exercise. > I did not spend too much time trying, though. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > The information contained in this message may be privileged, > confidential, and protected from disclosure. If the reader of this > message is not the intended recipient, or any employee or agent > responsible for delivering this message to the intended recipient, > you are hereby notified that any dissemination, distribution, or > copying of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately > by replying to the message and deleting it from your computer. > > Thank you. Paychex, Inc. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to terminate the uploading process of Struts?
You may be able to configure this in your web server. -Original Message- From: Al Eridani [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 10:29 AM To: Struts Users Mailing List Subject: Re: How to terminate the uploading process of Struts? On 6/4/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote: >Hi experts, > Can we terminate the uploading process of Struts when the uploaded > data size is exceeded the max file size configured in the controller > of Struts. I believe that this is not a Struts issue. I remember I tried years ago (not using Struts) and, while I could terminate the process, I could find no way of clearing the remaining data that the browser kept sending without reading it, which defeated the purpose of the exercise. I did not spend too much time trying, though. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to terminate the uploading process of Struts?
On 6/4/06, Truong Xuan Tinh <[EMAIL PROTECTED]> wrote: Hi experts, Can we terminate the uploading process of Struts when the uploaded data size is exceeded the max file size configured in the controller of Struts. I believe that this is not a Struts issue. I remember I tried years ago (not using Struts) and, while I could terminate the process, I could find no way of clearing the remaining data that the browser kept sending without reading it, which defeated the purpose of the exercise. I did not spend too much time trying, though. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]