org.apache.struts.taglib.html
Class BaseTag
TagSupport
org.apache.struts.taglib.html.BaseTag
public class BaseTag
extends TagSupport
Renders an HTML
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $protected static MessageResources | messages - The message resources for this package.
|
protected String | server - The server name to use instead of request.getServerName().
|
protected String | target - The target window for this base reference.
|
int | doStartTag() - Process the start of this tag.
|
String | getServer() - Returns the server.
|
String | getTarget()
|
protected String | renderBaseElement(String scheme, String serverName, int port, String uri) - Render a fully formed HTML <base> element and return it as a String.
|
void | setServer(String server) - Sets the server.
|
void | setTarget(String target)
|
messages
protected static MessageResources messages
The message resources for this package.
server
protected String server
The server name to use instead of request.getServerName().
target
protected String target
The target window for this base reference.
doStartTag
public int doStartTag()
throws JspException
Process the start of this tag.
getServer
public String getServer()
Returns the server.
getTarget
public String getTarget()
renderBaseElement
protected String renderBaseElement(String scheme,
String serverName,
int port,
String uri)
Render a fully formed HTML <base> element and return it as a String.
scheme
- The scheme used in the url (ie. http or https).serverName
- port
- uri
- The portion of the url from the protocol name up to the query
string.
- String An HTML <base> element.
setServer
public void setServer(String server)
Sets the server.
server
- The server to set
setTarget
public void setTarget(String target)
Copyright B) 2000-2007 - The Apache Software Foundation