| < Day Day Up > |
|
The <html:base /> tag is used to insert an HTML <base> element, including an href pointing to the absolute location of the hosting JSP page. This tag allows you to use relative URL references, rather than a URL that is relative to the most recent requested resource. The <html:base /> tag has no body and supports two attributes, described in Table 16.1.
Attribute | Description |
---|---|
target | Represents the target attribute of the HTML <base> tag (optional) |
server | Identifies a server name to use in the href as opposed to the results of a call to request.getServerName() (optional) |
The <html:base /> tag must be nested inside the body of an HTML <head> element.
| < Day Day Up > |
|