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 ,
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.Code:<var> <var-name>mask</var-name> <var-value>[<|>]</var-value> </var>
moon


Reply With Quote