@Override
    public void validate() {

        if (adname == null) {

            addActionError("Please Enter Ad Name");
            
        }
        if (url == null) {

            addActionError("Please Enter Ad url");
             
        }

        if (adtext == null) {

            addActionError("Please Enter Ad Text");
            
        }
     
    }