1 28 29 package com.caucho.jstl; 30 31 import com.caucho.util.L10N; 32 33 import javax.servlet.jsp.JspException ; 34 import javax.servlet.jsp.tagext.TagSupport ; 35 36 39 public class ChooseTag extends TagSupport { 40 private static L10N L = new L10N(ChooseTag.class); 41 42 private boolean isMatch; 43 44 47 public boolean isMatch() 48 { 49 return isMatch; 50 } 51 52 55 public void setMatch() 56 { 57 isMatch = true; 58 } 59 60 63 public int doStartTag() 64 throws JspException  65 { 66 isMatch = false; 67 68 return EVAL_BODY_INCLUDE; 69 } 70 } 71 | Popular Tags |