public void visit(Node.SetProperty n) throws JasperException { JspUtil.checkAttributes(TagConstants.SET_PROPERTY_ACTION, n, setPropertyAttrs, err); String property = n.getTextAttribute("property"); String param = n.getTextAttribute("param"); String value = n.getAttributeValue("value"); n.setValue(getJspAttribute(null, "value", null, null, value, java.lang.Object.class, n, false)); boolean valueSpecified = n.getValue() != null; if ("*".equals(property)) { if (param != null || valueSpecified) err.jspError(n.getStart(), MESSAGES.invalidSetProperty()); } else if (param != null && valueSpecified) { err.jspError(n.getStart(), MESSAGES.invalidSetPropertyEitherParam()); } visitBody(n); }