org.apache.struts.taglib.html
Class BaseTag

org.apache.struts.taglib.html.BaseTag

public class BaseTag

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.4 $ $Date: 2001/03/11 00:58:43 $
Author:
Luis Arias

Field Summary
protected static MessageResources messages
          The message resources for this package.
protected  java.lang.String target
          The target window for this base reference.
 
Constructor Summary
BaseTag()
           
 
Method Summary
 int doStartTag()
          Process the start of this tag.
 java.lang.String getTarget()
           
 void setTarget(java.lang.String target)
           
 

Field Detail

messages

protected static MessageResources messages
The message resources for this package.

target

protected java.lang.String target
The target window for this base reference.
Constructor Detail

BaseTag

public BaseTag()
Method Detail

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.
Throws:
JspException - if a JSP exception has occurred


Copyright © 2000-2002 - Apache Software Foundation