I am using
and getting the question marks and en_US prepended with all the error
messages .. as below.
Why is that .. How can I avoid "???en_US."
???en_US.TEST ERROR1??? ???en_US.TEST ERROR2??? ???en_US.TEST ERROR3???
???en_US.TEST ERROR4???
Thanks For your Help.
-Sanjeeb
--
View this messag
Got the solution ..
ActionErrors errors = new ActionErrors();
// For test purpose .. Adding Errors to the ActionErrors object
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(ERROR1));
errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(ERROR2));
er
My requirement is to show a global error message.
I am using for this.
So it's showing all the errors that has been added to ActionErrors object.
But my requirement is if I have got only one error than show the error
message.
And if I have multiple errors, just show a Generic message like " You h