# Page Compilation in Jigsaw.

- Configuring a HTML/Java page
- Properties setting

## Configuring a HTML/Java page

By default, all files with a jhtml extensions are indexed in a FileResource associated to a PageCompileFrame. But if you want to create a HTML/Java page (test.jhtml for example) by hand you should go through the following steps:

1. Write your HTML/Java page (test.jthml) in `<instdir>/Jigsaw/WWW` (for example).
2. With JigAdmin, create a FileResource called test.jhtml.
3. Select the node corresponding to test.jhtml.
4. Add a `org.w3c.jigsaw.pagecompile.PageCompileFrame` to the test.jhtml FileResource.

## Properties

You may need to modify some properties in order to use Page Compilation.

1. Compiled Pages Directory: Specify the directory for storing generated class file, by default the Compiled Pages Directory is set to `<instdir>/Jigsaw/Jigsaw/compiledPages/`. THIS DIRECTORY MUST BE IN YOUR CLASSPATH, in some cases Jigsaw needs to load the generated frames with the system ClassLoader.
2. Compiler: Specify the compiler used to compile generated frames, it's not necessary to change the default if you run Jigsaw with the JDK. But in some case you may need to use another compiler, then you will need to write a new compiler class that implements the PageCompiler interface.

Jigsaw Team
$Id: configuration.html,v 1.9 1998/09/28 13:27:26 bmahe Exp $