# Page Compilation in Jigsaw.

Jigsaw Home / Documentation Overview

- What is Page Compilation?
- Example
- Tutorials

# What is Page Compilation?

Page Compilation allows you to generate HTML pages from HTML/Java pages. Jigsaw has a special frame (PageCompileFrame) that translate the HTML/Java file in a Jigsaw frame source file, compile it and runs the new compiled frame. The PageCompileFrame can be used like any other frame. Read the Resource Configuration page for more details on Jigsaw frames and resources.

# Example:

The following HTML/Java page

    <html>
     <head>
         <title>Page Compilation Test</title>
     </head>
     <body>
         <h1>Page Compilation Test</h1>
         <java>
           out.println ("<p>Page Compilation test");
         </java>
         <h1>Display a list</h1>
         <ul>
           <java>
             for (int i = 1; i < 10; i++) {
               out.println ("<li> item " + i);
             }
           </java>
         </ul>
     </body>
    </html>

will be translated in this HTML page:

# Page Compilation Test

Page Compilation test

# Display a list

- item 1
- item 2
- item 3
- item 4
- item 5
- item 6
- item 7
- item 8
- item 9

# Tutorials

- Configuring Page Compilation
- Writing your own HTML/Java pages
- List of <java> tags, available variables, and how to use them.

Jigsaw Team
$Id: Overview.html,v 1.6 1999/03/16 13:40:27 bmahe Exp $

Copyright © 1999 W3C (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark , document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.