This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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"));
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();
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