com.ora.jsp.tags
Class SetHeaderTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.ora.jsp.tags.SetHeaderTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SetHeaderTag
extends javax.servlet.jsp.tagext.TagSupport

This class is a custom action for setting response header values.

Version:
1.0
Author:
Hans Bergsten, Gefion software
See Also:
Serialized Form

Field Summary
private  java.lang.String nameEL
           
private  java.lang.String valueEL
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SetHeaderTag()
           
 
Method Summary
 int doEndTag()
          Sets the header specified by the name property to the value specified by the value property.
 void release()
           
 void setName(java.lang.String name)
          Sets the name attribute.
 void setValue(java.lang.String value)
          Sets the value attribute from a String.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nameEL

private java.lang.String nameEL

valueEL

private java.lang.String valueEL
Constructor Detail

SetHeaderTag

public SetHeaderTag()
Method Detail

setName

public void setName(java.lang.String name)
Sets the name attribute.

Parameters:
name - the parameter name

setValue

public void setValue(java.lang.String value)
Sets the value attribute from a String.

Parameters:
value - the parameter String value

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Sets the header specified by the name property to the value specified by the value property.

Throws:
javax.servlet.jsp.JspException

release

public void release()