} catch (IOException ex) {
throw new JspTagException("错误");
}
return EVAL_BODY_INCLUDE;
}
@Override
public int doEndTag() throws JspException {
try {
StringBuffer results = new StringBuffer("");
if ("SEX".equals(collection)) {
results.append("<span>");
results.append("<input type=\"");
results.append("hidden\" name=\"");
results.append(getName());
results.append("\"");
results.append(" value=\"");
results.append(getValue());
results.append("\">");
if ("1".equals(getValue())) {