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>
<!-- The fully-qualified module name -->
<meta name='gwt:module' content='com.example.cal.Calendar'>
<!-- Properties can be specified to influence deferred binding -->
<meta name='gwt:property' content='language=es'>
<!-- Stylesheets are optional, but useful -->
<link rel="stylesheet" href="Calendar.css">
<!-- Titles are optional, but useful -->
<title>Calendar App</title>
</head>
<body>
<!-- Include the bootstrap script just inside the body or in the head -->
<!-- (startup is slightly faster if you place it just after the body tag -->
<script language="javascript" src="gwt.js"></script>
<!-- Include a history iframe to enable full GWT history support -->
<!-- (the id must be exactly as shown) -->
<iframe 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.