自定义标签,直接代码,直接模仿开发即可 public class ButtonTag extends AttributeTag { //tld中定义的属性 public String label; public String url; public String click; public String confirm; public boolean disabled = false; public boolean popup = false; public ButtonTag() { super(); }
还不错挺有用的