@Override
    public int doStartTag() throws JspException {
        try {
            if (msg != null && !msg.isEmpty()) {
                JspWriter out = pageContext.getOut();
                out.write("<div id='" + classErr + "'>");
                return EVAL_BODY_INCLUDE;
            }
        } catch (IOException e) {
            throw new JspException(e.getMessage());
        }
        return SKIP_BODY;
    }