Greg Lindholm wrote:
Same is true for both "paramsPrepareParams" stack and "defaultStack", the
fileUpload is after the prepare interceptor (sorry, I didn't make it clear I
was talking about paramsPrepareParams).
Meh, my thinking was broken when I posted that anyway; I wasn't thinking
about th
newton.dave wrote:
>
> Greg Lindholm wrote:
>> I've discovered that in the standard interceptor stack "fileUpload"
>> is after "prepare" interceptor. This means that the upload File,
>> ContentType, and FileName setters have not been called before
>> prepare() method runs. Is there a good reas
Greg Lindholm wrote:
I've discovered that in the standard interceptor stack "fileUpload"
is after "prepare" interceptor. This means that the upload File,
ContentType, and FileName setters have not been called before
prepare() method runs. Is there a good reason for this? It seems
like fileUploa
I'm pretty sure you can't prepopulate input tags whose type=file.
This is html4 and has nothing to do with struts.
-Original Message-
From: Greg Lindholm [mailto:glindh...@yahoo.com]
Sent: Wednesday, March 18, 2009 4:17 PM
To: user@struts.apache.org
Subject: Re: File upload,
BTW That's Struts 2.1.6 and Tomcat 5.5.
Greg Lindholm wrote:
>
> Got a couple questions about file uploading.
>
> I've discovered that in the standard interceptor stack "fileUpload" is
> after "prepare" interceptor. This means that the upload File, ContentType,
> and FileName setters have not
Got a couple questions about file uploading.
I've discovered that in the standard interceptor stack "fileUpload" is after
"prepare" interceptor. This means that the upload File, ContentType, and
FileName setters have not been called before prepare() method runs. Is there a
good reason for this
钟原froast wrote:
image/png,image/gif,image/jpeg
102400
*
saveCertificate
the upload file is not nessary, so i want it to be validated when I upload a
file, and skip validation when I did not upload a file, how should I do?
H
image/png,image/gif,image/jpeg
102400
*
saveCertificate
the upload file is not nessary, so i want it to be validated when I upload a
file, and skip validation when I did not upload a file, how should I do?
Better to put validation on server side apart from this
-Original Message-
From: Pankaj Gupta [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 1:16 PM
To: Struts Users Mailing List
Subject: File Upload validation
Hi,
I want to do client side validation for file upload such that
, October 05, 2006 1:16 PM
To: Struts Users Mailing List
Subject: File Upload validation
Hi,
I want to do client side validation for file upload such that if the
file does not exist or the field is left blank it should show an error.
Please suggest how I can do that.
regards,
Pankaj
Hi,
I want to do client side validation for file upload such that if the file
does not exist or the field is left blank it should show an error. Please
suggest how I can do that.
regards,
Pankaj
11 matches
Mail list logo