Hi All,
I am trying to upload a .jpg file through my struts action.
Below is my set up
In the jsp :
In the form I have a FormFile property as :
class MyForm extends ValidatorForm{
private FormFile filePath;
// corresponding getter and setter
}
On submitting my
Thanks Dave! This explains it.
newton.dave wrote:
>
> --- Ashima Beri <[EMAIL PROTECTED]> wrote:
>> I read in struts flow explanation that Action class is only called if the
>> validations are passed through.
>> I dont know what other way to adopt.
>
> W
n appropriately) bypass validation and call
> directly into your execute() method.
>
> For my money, option 2 is the better approach, since cluttering
> validate() with non-validation concerns smells a bit... :p)
>
> L.
>
> Ashima Beri wrote:
>> Hi Laurie,
>>
still certain validations
failing.
I read in struts flow explanation that Action class is only called if the
validations are passed through.
I dont know what other way to adopt.
Any suggestions?
Thanks
Ashima Beri
Laurie Harper wrote:
>
> Ashima Beri wrote:
>> Hi,
>> I am tryi
form back to the jsp so that the jsp reloads
with all the form field reinitialized.
Is there some other method of clearing out the form fields after it has
failed the validations defined in validation.xml?
Thanks in advance for all the valuable suggestions!
Ashima Beri
--
View this message in
5 matches
Mail list logo