java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
jsp2.examples.simpletag.RepeatSimpleTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
- public class RepeatSimpleTag
- extends javax.servlet.jsp.tagext.SimpleTagSupport
SimpleTag handler that accepts a num attribute and
invokes its body 'num' times.
|
Field Summary |
private int |
num
|
|
Method Summary |
void |
doTag()
Default processing of the tag does nothing. |
void |
setNum(int num)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
num
private int num
RepeatSimpleTag
public RepeatSimpleTag()
doTag
public void doTag()
throws javax.servlet.jsp.JspException,
java.io.IOException
- Description copied from class:
javax.servlet.jsp.tagext.SimpleTagSupport
- Default processing of the tag does nothing.
setNum
public void setNum(int num)