org.apache.struts.taglib.html
public class BaseTag extends TagSupport
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| 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. |
| Method Summary | |
|---|---|
| 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) |
Throws: JspException if a JSP exception has occurred
Returns: String
Parameters: 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.
Returns: String An HTML <base> element.
Since: Struts 1.1
Parameters: server The server to set