验证器:
@Override
public void validate( final Object obj,final Errors e )
{
ValidationUtils.rejectIfEmpty( e,"firstname","error.firstname.empty" );
}
JSP:
有任何想法吗?
最佳答案
验证器:
@Override
public void validate( final Object obj,final Errors e )
{
ValidationUtils.rejectIfEmpty( e,"firstname","error.firstname.empty" );
}
JSP:
有任何想法吗?