org.apache.struts.taglib
Class IfParameterNotNullTag

org.apache.struts.taglib.IfParameterNotNullTag

public class IfParameterNotNullTag

Conditionally include the body of this tag if the specified parameter is present in the current request, and has a length greather than zero.

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

Field Summary
protected  java.lang.String name
          The name of the parameter being compared.
 
Constructor Summary
IfParameterNotNullTag()
           
 
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 release()
          Release any acquired resources.
 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

IfParameterNotNullTag

public IfParameterNotNullTag()
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

release

public void release()
Release any acquired resources.


Copyright © 2000-2002 - Apache Software Foundation