Hi,

l am looking for a way to reject characters like "<" , ">" ..etc being enter into the input textbox using Jakarta Commons Validator which is supported by spring in the sandbox.

l wish to write it simply using code below ,

Code:
<var>
     <var-name>mask</var-name>
      <var-value>&#91;<|>&#93;</var-value>
</var>
look at the package org.springframework.validation.commons.FieldChecks , the method validateMask return true if match , otherwise false . My question is there any way to do it -- if match return false , sometime it is more efficient to do it these way.

moon