验证器:
@Override
public void validate( final Object obj,final Errors e )
{
ValidationUtils.rejectIfEmpty( e,"firstname","error.firstname.empty" );
}
JSP:
有任何想法吗?
最佳答案
原文链接:https://www.f2er.com/spring/432724.html验证器:
@Override
public void validate( final Object obj,final Errors e )
{
ValidationUtils.rejectIfEmpty( e,"firstname","error.firstname.empty" );
}
JSP:
有任何想法吗?