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)); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(ERROR3)); errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(ERROR4)); saveErrors(request, errors); ActionMessages errorMessages = errors; int errorCount = errorMessages.size(); request.setAttribute("errorCount", Integer.valueOf(errorCount)); -- View this message in context: http://www.nabble.com/How-to-know-number-of-messages-in-ActionErrors-Object-t1825721.html#a4980894 Sent from the Struts - Dev forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]