Re: Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread Christoph Nenning
> Hello, > I am using Struts 2.1 in my project. For the file upload process, is > it possible to supersede the normal 2 gb file limit for struts2.The > struts.xml maxsize element in my project is as follows : > constant name="struts.multipart.maxSize" > value="2147483648" / > Please

Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread punter
Hello, I am using Struts 2.1 in my project. For the file upload process, is it possible to supersede the normal 2 gb file limit for struts2.The struts.xml maxsize element in my project is as follows : constant name="struts.multipart.maxSize" value="2147483648" / Please update me the

Re: Allow max. file upload size of more than 2gb in struts 2

2015-12-09 Thread Adam Brin
You may also want to check the docs: https://struts.apache.org/docs/file-upload.html which has a section on size limits. > On Dec 9, 2015, at 1:38 AM, punter wrote: > > > Hello, > I am using Struts 2.1 in my project. For the file upload process, is it > possible

Re: How to limit file upload size without full upload

2009-06-15 Thread Greg Lindholm
On Sun, Jun 14, 2009 at 1:49 AM, Wes Wannemacher w...@wantii.com wrote: On Saturday 13 June 2009 10:34:53 pm tatan123 wrote: We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message that the uploaded

Re: How to limit file upload size without full upload

2009-06-15 Thread Wes Wannemacher
2009 10:34:53 pm tatan123 wrote: We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message that the uploaded file exceeds the max file size limit. Is there any way struts2 can show the error message

RE: How to limit file upload size without full upload

2009-06-15 Thread Martin Gainty
: On Sun, Jun 14, 2009 at 1:49 AM, Wes Wannemacher w...@wantii.com wrote: On Saturday 13 June 2009 10:34:53 pm tatan123 wrote: We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message

How to limit file upload size without full upload

2009-06-13 Thread tatan123
We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message that the uploaded file exceeds the max file size limit. Is there any way struts2 can show the error message without full file upload... Thanks -- View

Re: How to limit file upload size without full upload

2009-06-13 Thread Wes Wannemacher
On Saturday 13 June 2009 10:34:53 pm tatan123 wrote: We want to restrict the file upload size to 2 MB. While doing testing it seems we can upload a 100 MB file, after that struts2 showing message that the uploaded file exceeds the max file size limit. Is there any way struts2 can show

[s2] file upload size validation indiced problems

2009-02-06 Thread Kawczynski, David
I have a form that has an s:file element. When the upload exceeds that size, the input page is returned. Log4j records show this log message: org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (xxx) exceeds the configured maximum

Re: About incresing file upload size in Struts 2

2008-11-23 Thread Lukasz Lenart
2008/11/22 Hardik Shah [EMAIL PROTECTED]: can anybody give me detailed configuration to increase size of file upload in struts 2.0.11.2 Take a look on that http://struts.apache.org/2.x/docs/how-do-we-upload-files.html Regards -- Lukasz http://www.lenart.org.pl/

About incresing file upload size in Struts 2

2008-11-21 Thread Hardik Shah
can anybody give me detailed configuration to increase size of file upload in struts 2.0.11.2 please help me -- View this message in context: http://www.nabble.com/About-incresing-file-upload-size-in-Struts-2-tp20633816p20633816.html Sent from the Struts - User mailing list archive

Re: Struts 2 file upload size validation

2008-05-09 Thread Rubbinio
-file-upload-size-validation-tp17112411p17146914.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts 2 file upload size validation

2008-05-08 Thread Rubbinio
PROTECTED] -- View this message in context: http://www.nabble.com/Struts-2-file-upload-size-validation-tp17112411p17125070.html Sent from the Struts - User mailing list archive at Nabble.com.

Struts 2 file upload size validation

2008-05-07 Thread Rubbinio
this message in context: http://www.nabble.com/Struts-2-file-upload-size-validation-tp17112411p17112411.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Struts 2 file upload size validation

2008-05-07 Thread Martin
a look at http://www.docjar.com/docs/api/javax/servlet/ServletRequest.html#getParameterMap HTH M - Original Message - From: Rubbinio [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, May 07, 2008 3:24 PM Subject: Struts 2 file upload size validation Hi, we are trying to use

Re: Struts 2 file upload size validation

2008-05-07 Thread Laurie Harper
Rubbinio wrote: Hi, we are trying to use file upload in Struts 2 and run into the following problem. We have a form with multiple fields among which one is a file input field. The user must complete the form and then select a file to upload. If the file size is larger than what we specify in

Re: Struts 2 file upload size validation

2008-05-07 Thread Laurie Harper
, 2008 3:24 PM Subject: Struts 2 file upload size validation Hi, we are trying to use file upload in Struts 2 and run into the following problem. We have a form with multiple fields among which one is a file input field. The user must complete the form and then select a file to upload

How to programmatically set the maximum file upload size and allowed file types (FileUploadInterceptor)

2008-04-30 Thread Cheng Wei Lee
Is there a way to do this programmatically rather than declaratively? Thanks!

Re: File Upload Size

2008-03-20 Thread Richard Sayre
No it doesn't On Wed, Mar 19, 2008 at 2:14 PM, Lukasz Lenart [EMAIL PROTECTED] wrote: Does your action implements ValidationAware interface? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To

Re: File Upload Size

2008-03-20 Thread Lukasz Lenart
No it doesn't Maybe that's the problem, FileUploadInterceptor check if action implements it and add error messages. If you implement it, remember to add result name=input. Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

File Upload Size

2008-03-19 Thread Richard Sayre
I set the file upload max size in the struts.properties to 15MB. When I upload a file over 15MB my action returns input. Is there any way I can check to see if the file is over the max size set in the properties file and handle what result I want to happen myself? I seems that it returns input

Re: File Upload Size

2008-03-19 Thread Richard Sayre
The reason I am asking this is bacuase when I upload a file over 15MB I get no result mapped for INPUT exception in my error log. When I do map a result for input the app hangs. I looked at the file upload in the struts showcase and it returns an error message when the file you upload is too big.

Re: File Upload Size

2008-03-19 Thread Lukasz Lenart
Hi, You can subclass FileUploadInterceptor and override acceptFile(File file, String contentType, String inputName, ValidationAware validation, Locale locale) method Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart

Re: File Upload Size

2008-03-19 Thread Lukasz Lenart
Does your action implements ValidationAware interface? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]