public class If
extends javax.servlet.jsp.tagext.SimpleTagSupport
public void setTest(boolean test)
test - true 表示执行 when 标签内容,否则执行 otherwise 标签内容public void doTag()
throws javax.servlet.jsp.JspException,
IOException
doTag 在接口中 javax.servlet.jsp.tagext.SimpleTagdoTag 在类中 javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspExceptionIOExceptionCopyright © 2013–2021 AJAXJS. All rights reserved.