|
JOT Templates > About JOT Templates
JOT Templates
JOT Templates are standard HTML, XML, WML, or any other kind of web page
containing JOT Tokens. These tokens are names for dynamic content
that begin with "JOT." Such JOT Tokens can appear anywhere on
a web page - in the header or body, as attributes of HTML or XML tags,
within JavaScript statements, etc. Any part of the page can be dynamically
created on-the-fly when the response is sent to the client browser.
This JOT Template example has two JOT Tokens, JOT.PageTitle
and JOT.Now:
<html>
<title>JOT.PageTitle</title>
<body>
<h3>The time is JOT.Now</h3>
</body>
</html>
JOT Tokens obtain dynamic content from
server-side Java objects. The tokens are replaced with actual
dynamic content values when the page is sent to the client browser.
This is called rendering the response. JOT Templates also
contain server-side scripting commands to control the
rendering process.
|