|
Quick Start > Step 1: JOT Template
Step 1: JOT Template
These Quick Start steps assume that you have already downloaded JOT Servlets
and followed the installation instructions in the JOT Servlets readme.
The first step is to create a
JOT Template file named QuickStart.html
that will be the
ContentSource for this JOT Servlet.
In this JOT Template example JOT.Now and JOT.Foo are
JOT Tokens. These tokens correspond to JOT Bean properties (see step 3):
<html>
<head>
<title>JOT QuickStart Example</title>
</head>
<body>
<center><h2><b>JOT QuickStart Example</b></h2>
The time is <b>JOT.Now</b>
<p>
<form method=post action="QuickStart">
Value Entered: <b>JOT.Foo</b>
<br>Input <input type=text name=foo value="JOT.Foo" size=20>
<input type=submit value="go">
</form>
</center>
</body>
</html>
|