import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.yc.base.util.MessageResources;
import com.yc.ycportal.util.Constants;
private static Log log = LogFactory.getLog("ContentTag.class");
JspWriter writer = pageContext.getOut(); try { writer.print("
/n"); writer.print( (String) pageContext.getRequest().getAttribute( Constants.ACTION_RESULT)); writer.print("/n
"); } catch (IOException e) { log.error("write.io:" + e.toString()); e.printStackTrace(); // throw new JspException( // messages.getMessage("write.tag.io", e.toString())); }