@Override
    public void validate() {

        if (sitename == null) {

            addActionError("Please Enter Site Name");
        }
        if (siteurl == null && siteurl.equals("http://")) {

            addActionError("Please Enter Web Site Url");
        }
        if (txtcolor == null) {

            addActionError("Please Enter Text Color");
        }
        if (bgcolor == null) {

            addActionError("Please Enter Background Color");
        }



        if (catgry.equals("Please select")) {

            addActionError("Please Select a Category");

        }

    }