org.apache.struts.taglib
Class IfParameterNullTag

org.apache.struts.taglib.IfParameterNullTag

public class IfParameterNullTag

Conditionally include the body of this tag if the specified parameter is not present in the current request, or it is present as a zero length string.

Version:
$Revision: 1.2 $ $Date: 2000/08/01 20:03:34 $
Author:
Craig R. McClanahan

Field Summary
protected  java.lang.String name
          The name of the parameter being compared.
 
Constructor Summary
IfParameterNullTag()
           
 
Method Summary
 int doStartTag()
          Retrieve the specified parameter, and decide whether or not to include the body content.
 java.lang.String getName()
          Return the parameter name.
 void setName(java.lang.String name)
          Set the parameter name.
 

Field Detail

name

protected java.lang.String name
The name of the parameter being compared.
Constructor Detail

IfParameterNullTag

public IfParameterNullTag()
Method Detail

getName

public java.lang.String getName()
Return the parameter name.

setName

public void setName(java.lang.String name)
Set the parameter name.
Parameters:
name - The new parameter name

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Retrieve the specified parameter, and decide whether or not to include the body content.
Throws:
JspException - if a JSP exception has occurred


Copyright © 2000-2002 - Apache Software Foundation