HTML Host Pages
Any HTML page containing the proper incantation can include code created
with GWT, referred to as a
host page. A typical HTML host page
looks like this:
<html>
<head>
<!-- Properties can be specified to influence deferred binding -->
<meta name='gwt:property' content='locale=en_UK'>
<!-- Stylesheets are optional, but useful -->
<link rel="stylesheet" href="Calendar.css">
<!-- Titles are optional, but useful -->
<title>Calendar App</title>
</head>
<body>
<!-- The fully-qualified module name, followed by 'nocache.js' -->
<script language="javascript" src="com.example.cal.Calendar.nocache.js"></script>
<!-- Include a history iframe to enable full GWT history support -->
<!-- (the id must be exactly as shown) -->
<iframe src="javascript:''" id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
</body>
</html>
The structure was designed to make it easy to add GWT functionality to
existing web applications with only minor changes.