jsp2.examples.simpletag
Class RepeatSimpleTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by jsp2.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
Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException

setNum

public void setNum(int num)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.