Renders an HTML <base>
element with an
href
attribute pointing to the absolute location of
the enclosing JSP page. This tag is valid only when nested inside
an HTML <head>
element.
This tag is useful because it allows you to use relative URL references in the page that are calculated based on the URL of the page itself, rather than the URL to which the most recent submit took place (which is where the browser would normally resolve relative references against).
Attribute Name | Description |
---|---|
target |
The window target for this base reference. [RT Expr] |
server |
The server name to use instead of request.getServerName(). [RT Expr] |