jsp2.examples.simpletag
Class RepeatSimpleTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.SimpleTagSupport
      extended byjsp2.examples.simpletag.RepeatSimpleTag
All Implemented Interfaces:
JspTag, SimpleTag

public class RepeatSimpleTag
extends SimpleTagSupport

SimpleTag handler that accepts a num attribute and invokes its body 'num' times.


Constructor Summary
RepeatSimpleTag()
           
 
Method Summary
 void doTag()
           
 void setNum(int num)
           
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatSimpleTag

public RepeatSimpleTag()
Method Detail

doTag

public void doTag()
           throws JspException,
                  IOException
Throws:
JspException
IOException

setNum

public void setNum(int num)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.