Exception while uploading a .jpg file from ValidatorForm through struts action

2008-03-21 Thread Ashima Beri
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

Re: reset problem for a dynavalidator form

2008-02-02 Thread Ashima Beri
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

Re: reset problem for a dynavalidator form

2008-02-02 Thread Ashima Beri
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, >>

Re: reset problem for a dynavalidator form

2008-02-02 Thread Ashima Beri
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

reset problem for a dynavalidator form

2008-02-02 Thread Ashima Beri
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