protected static synchronized ActionValidator createValidatorSingleton(String className)
     throws ClassNotFoundException, IllegalAccessException, InstantiationException {
   if (ActionValidatorContext.getValue(className) == null) {
     ActionValidator validator = (ActionValidator) ReflectionUtil.createInstance(className);
     ActionValidatorContext.putValue(className, validator);
   }
   return ActionValidatorContext.getValue(className);
 }
 public static ActionValidator getValidator(String className)
     throws ClassNotFoundException, IllegalAccessException, InstantiationException {
   if (ActionValidatorContext.getValue(className) != null) {
     return ActionValidatorContext.getValue(className);
   } else {
     return createValidatorSingleton(className);
   }
 }