org.apache.struts.taglib.html
Class BaseTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.apache.struts.taglib.html.BaseTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class BaseTag
- extends javax.servlet.jsp.tagext.TagSupport
Renders an HTML element with an href
attribute pointing to the absolute location of the enclosing JSP page. This
tag is only valid when nested inside a head tag body. The presence
of this tag allows the browser to resolve relative URL's to images,
CSS stylesheets and other resources in a manner independent of the URL
used to call the ActionServlet. There are no attributes associated with
this tag.
- Version:
- $Revision: 1.1 $ $Date$
- Author:
- Luis Arias
- See Also:
- Serialized Form
Field Summary |
protected static MessageResources |
messages
The message resources for this package. |
protected java.lang.String |
target
The target window for this base reference. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext, parent, values |
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 |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
messages
protected static MessageResources messages
- The message resources for this package.
target
protected java.lang.String target
- The target window for this base reference.
BaseTag
public BaseTag()
getTarget
public java.lang.String getTarget()
setTarget
public void setTarget(java.lang.String target)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Process the start of this tag.
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
- if a JSP exception has occurred
Copyright © 2000-2001 - Apache Software Foundation