--- /dev/null
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">\r
+<html>\r
+<head>\r
+ <meta http-equiv="Content-Type" content="text/html;\r
+ charset=iso-8859-1">\r
+ <link rel="stylesheet" type="text/css" href="../../style/doc.css">\r
+ <title>Page Compilation</title>\r
+ </head>\r
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EE" vlink="#551A8B"\r
+ alink="#FF0000">\r
+ <div class="icons-w3c">\r
+ <a href="../../../../">\r
+ <img src="/Icons/w3c_home" \r
+ border="0" \r
+ alt="W3C logo"\r
+ height="48" \r
+ width="72">\r
+ </a>\r
+ </div>\r
+ <div class="icons-jigsaw">\r
+ <a href="../../../">\r
+ <img src="/Icons/jigsaw" \r
+ border="0"\r
+ alt="Jigsaw"\r
+ height="49"\r
+ width="212">\r
+ </a>\r
+ </div>\r
+ <div class="title">\r
+ <h1 class="title">\r
+ Page Compilation in Jigsaw.\r
+ </h1>\r
+ <hr NOSHADE width="70%" align="left">\r
+ <a href="../../../Overview.html">Jigsaw Home</a> /\r
+ <a href="../../Overview.html">Documentation Overview</a> /\r
+ <a href="Overview.html">Page Compilation Overview</a>\r
+ </div>\r
+ <div class="body">\r
+<p>\r
+<ul>\r
+<li>\r
+<a href="#configure">Configuring a HTML/Java page</a></li>\r
+\r
+<li>\r
+<a href="#properties">Properties setting</a></li>\r
+\r
+<li>\r
+<a href="#classpath">Note on CLASSPATH</a></li>\r
+</ul>\r
+\r
+<h1>\r
+<a NAME="configure"></a>Configuring a HTML/Java page</h1>\r
+By default, all files with a <b>jhtml</b> extensions are indexed in a <a href="../../Reference/org.w3c.tools.resources.FileResource.html">FileResource</a>\r
+associated to a <a href="../../Reference/org.w3c.jigsaw.pagecompile.PageCompileFrame.html">PageCompileFrame</a>.\r
+But if you want to create a HTML/Java page (test.jhtml for example) by\r
+hand you should go through the following steps:\r
+<br> \r
+<ol>\r
+<li>\r
+Write your HTML/Java page (test.jthml) in <tt><instdir>/Jigsaw/WWW</tt>\r
+(for example).</li>\r
+\r
+<li>\r
+With <a href="../AdminTools.html">JigAdmin</a>, create a FileResource called\r
+test.jhtml.</li>\r
+\r
+<li>\r
+Select the node corresponding to test.jhtml.</li>\r
+\r
+<li>\r
+Add a <tt>org.w3c.jigsaw.pagecompile.PageCompileFrame</tt> to the test.jhtml\r
+FileResource.</li>\r
+</ol>\r
+ <table>\r
+ <tr><td>\r
+ <img SRC="images/jhtml-test1.gif" VSPACE=10 height=376\r
+ width=292>\r
+ </td><td>\r
+ <img SRC="images/jhtml-test2.gif" VSPACE=10 height=392\r
+ width=467>\r
+ </td></tr>\r
+ </table>\r
+<h1>\r
+<a NAME="properties"></a>Properties</h1>\r
+You may need to modify some properties in order to use Page Compilation.\r
+<ol>\r
+<li>\r
+<b>Compiled Pages Directory</b>: Specify the directory for storing generated\r
+class file, by default the Compiled Pages Directory is set to <tt><instdir>/Jigsaw/Jigsaw/compiledPages/</tt>.\r
+<b><u>THIS\r
+DIRECTORY MUST BE IN YOUR CLASSPATH</u></b>, in some cases <b>Jigsaw</b>\r
+needs to load the generated frames with the system ClassLoader.</li>\r
+\r
+<li>\r
+<b>Compiler</b>: Specify the compiler used to compile generated frames,\r
+it's not necessary to change the default if you run Jigsaw with the JDK.\r
+But in some case you may need to use another compiler, then you will need\r
+to write a new compiler class that implements the <a href="../../Programmer/api/org.w3c.jigsaw.pagecompile.PageCompiler.html">PageCompiler</a>\r
+interface.</li>\r
+</ol>\r
+<img SRC="images/jhtml-props.gif" HSPACE=10 VSPACE=10 height=394 width=568>\r
+<h1>\r
+<a NAME="classpath"></a>Note on CLASSPATH</h1>\r
+The <tt>compiledPages</tt> directory must be in the <tt>CLASSPATH</tt>\r
+(see <a href="#properties">Properties</a>), and <u>JDK1.2 users</u> must\r
+add the <tt>tools.jar</tt> file from the JDK (<tt>lib/tools.jar</tt>) in\r
+the <tt>CLASSPATH</tt> too because the default PageCompiler needs\r
+the <tt>sun.tools.javac.Main</tt> class which is no more in\r
+ classes.zip.\r
+ </div> <!-- body -->\r
+ <div class="footer">\r
+<p>\r
+<hr noshade>\r
+ <a href="mailto:jigsaw@w3.org">Jigsaw Team</a><br>\r
+ <span class="mini">\r
+ $Id: configuration.html,v 1.1 2010/06/15 12:19:59 smhuang Exp $\r
+ </span>\r
+ <p class="policyfooter">\r
+ <font size=-1>\r
+ <a href="/Consortium/Legal/ipr-notice.html#Copyright">Copyright</a>\r
+ © 1999 <a href="http://www.w3.org">W3C</a> \r
+ (<a href="http://www.lcs.mit.edu">MIT</a>, \r
+ <a href="http://www.inria.fr/">INRIA</a>, \r
+ <a href="http://www.keio.ac.jp/">Keio</a> ), \r
+ All Rights Reserved. W3C \r
+ <a href="/Consortium/Legal/ipr-notice.html#Legal Disclaimer">\r
+ liability,\r
+ </a>\r
+ <a href="/Consortium/Legal/ipr-notice.html#W3C Trademarks">\r
+ trademark\r
+ </a>, \r
+ <a href="/Consortium/Legal/copyright-documents.html">\r
+ document use \r
+ </a>\r
+ and\r
+ <a href="/Consortium/Legal/copyright-software.html">\r
+ software licensing\r
+ </a> rules apply. Your interactions with this site are in\r
+ accordance with our \r
+ <a href="/Consortium/Legal/privacy-statement.html#Public">\r
+ public\r
+ </a> and \r
+ <a href="/Consortium/Legal/privacy-statement.html#Members">\r
+ Member\r
+ </a>\r
+ privacy statements.</font>\r
+ </div>\r
+</body>\r
+</html>\r