Errors wrapper that adds automatic HTML escaping to the wrapped instance, for convenient usage in HTML views. Can be retrieved easily via RequestContext's
getErrors
method.
Note that BindTag does not use this class to avoid unnecessary creation of ObjectError instances. It just escapes the messages and values that get copied into the respective BindStatus instance.
@author Juergen Hoeller
@since 01.03.2003
@see org.springframework.web.servlet.support.RequestContext#getErrors
@see org.springframework.web.servlet.tags.BindTag