public int doStartTag() throws JspException {
StringBuffer results = new StringBuffer("<frame");
prepareAttribute(results, "src", calculateURL());
prepareAttribute(results, "name", getFrameName());
if (noresize) {
results.append(" noresize=\"noresize\"");
}
prepareAttribute(results, "scrolling", getScrolling());
prepareAttribute(results, "marginheight", getMarginheight());
prepareAttribute(results, "marginwidth", getMarginwidth());
prepareAttribute(results, "frameborder", getFrameborder());
prepareAttribute(results, "longdesc", getLongdesc());
results.append(prepareStyles());
prepareOtherAttributes(results);
results.append(getElementClose());
TagUtils.getInstance().write(pageContext,results.toString());
return (SKIP_BODY);
}