ela san

Greenhorn
+ Follow
since Dec 08, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ela san

Hi , i have cleared the validatorresult at the start of my validate method , also tryed reset() , no use , below is my code

ValidatorResults result = getValidatorResults();
result.clear();

can you suggest me how to do this ? , or tell me some other way to clear those error message , any how i am checking my ActionErrors size before returning it from validate() , its showing the exact no of msg which was invoked by the current request submission
13 years ago
Hi All

I am a sr web developer working on struts , my issue is that the old Error message on the previous submission has been added to current error message and been displayed to Jsp , my form bean is in session scope , i am using the validate method for doing this validation, anybody having any idea about why the err msg adding with the previous requst submission err msg ?

this is my code

actionErrors.add(actionErrors.GLOBAL_MESSAGE, new ActionMessage("errors.SummaryForm.actioPlanDesc.NoOfCharInvalid"));
13 years ago