Struts 2 url validation example


The url validator checks that given value is string and a valid url. It can be used in website url, reciprocal links etc.

Parameters of url validator

There is only 1 parameter defined for url validator.

ParameterDescription
fieldNamespecifies the field name that is to be validated. It is required in Plain-Validator only.

The url validator watches that given esteem is string and a substantial url. It tends to be utilized in site url, corresponding connections etc.

Parameters of url validator

There is just 1 parameter characterized for url validator.

ParameterDescription
fieldNamespecifies the field name that will be validated. It is required in Plain-Validator only.





javacodegeeks is optimized for learning.© javacodegeeks .
All Right Reserved and you agree to have read and accepted our term and condition