protected void endContext(PageContext context) {
// Do nothing
}
protected void execute() throws JspException {
PutAttributeTagParent parent = (PutAttributeTagParent)
TagSupport.findAncestorWithClass(this, PutAttributeTagParent.class);
if (parent == null) {
String message = "Error: enclosing tag '"
+getParent().getClass().getName()+" doesn't accept 'put' tag.";
LOG.error(message);
throw new JspException(message);
}
parent.processNestedTag(this);
}