1.

What is the purpose of UrlValidator annotation?

Answer»

This validator checks that a field is a valid URL.

public class Employee extends ActionSupport{   UrlValidator(message = "Default message",    key = "i18n.key", shortCircuit = true)   public String getURL() {       return url;   }}


Discussion

No Comment Found