Java Web Server

Introducing Page Compilation


Contents / New Features / Administrator Docs / Developer Docs / Index

Page compilation is the process of generating HTML pages from hybrid HTML/Java source files using the PageCompileServlet. The PageCompileServlet is loaded and inititialized like any other servlet.

The PageCompileServlet is a part of the package com.sun.server.webserver. The Page Compilation Tutorial provides both an introduction to the process of page compilation and a guide to using the PageCompileServlet.

The PageCompileServlet performs the following tasks the first time a hybrid HTML/Java file is requested:

If the requested file changes after its initial compilation, the PageCompileServlet detects this and repeats these tasks. If the requested file does not change, PageCompileServlet uses the existing servlet to handle a page request.

The Page Compilation Tutorial has the following sections:


Top
java-server-feedback@java.sun.com
Copyright © 1997 Sun Microsystems, Inc.
All Rights Reserved.