com.ora.jsp.tags
Class SetHeaderTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.ora.jsp.tags.SetHeaderTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
- public class SetHeaderTag
- extends javax.servlet.jsp.tagext.SimpleTagSupport
This class is a custom action for setting response header
values.
- Version:
- 2.0
- Author:
- Hans Bergsten, Gefion software
Field Summary |
private java.lang.String |
name
|
private java.lang.String |
value
|
Fields inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|
Method Summary |
void |
doTag()
Sets the header specified by the name property to the value
specified by the value property. |
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.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 |
name
private java.lang.String name
value
private java.lang.String value
SetHeaderTag
public SetHeaderTag()
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
doTag
public void doTag()
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