Die Common-Controls Tag Bibliothek

<util:base>

Generiert ein HTML-base Element, welches die Basis Adresse für alle URIs und Verweise innerhalb der HTML Seite festlegt. Das Tag kann ohne weitere Attribute verwendet werden.
Das <base> Tag wird typischerweise im <head> Element der JSP Seite angegeben.

Body content: JSP
Tag class: BaseTag
 

[ Syntax ]

Standard Syntax
<util:base
[ contextPath = "String" ]
[ host = "String" ]
[ port = "String" ]
>
...Body Content...

</util:base>
 

[ Attribute ]

AttributTypBeschreibungPflichtRTExp
contextPathString Kontext Root der Web-Applikation.  
hostString Host Name  
portString Port Nummer  

[ Beispiel ]

Das Base Tag wird im Head Element der JSP angegeben.


<%@ taglib uri="http://www.common-controls.com/cc/tags-util"   prefix="util" %>

<html>
<head>
   <util:base/>

   <%--  StyleSheets  --%>
   <link href="app/css/default.css" rel="stylesheet" type="text/css"/>

   <%--  Framework Includes  --%>
   <util:jsp directive="includes"/>
</head>
<body leftmargin="0" rightmargin="0" onLoad="init();">

</body>
</html>