HTML is normally sent to the client exactly as it exists on disk without any server intervention. However, the server can search HTML files for special commands (that is, it can parse the HTML) before sending documents. If you want the server to parse these files and insert request-specific information or files into documents, you must first enable HTML parsing.
From the Class Manager, click the Content Management tab.
Click Parse HTML.
Choose a resource for which the server will parse HTML.
Choose Entire Server from the resource picker to apply your change to the whole class, or navigate to the document root for a specific virtual server, or to a specific directory or within a specific virtual server.
If you choose a directory, the server will parse HTML only when the server receives a URL for that directory or any file in that directory.
Choose whether to activate server-parsed HTML.
You can activate for HTML files but not the exec tag, or for HTML files and the exec tag, which allows HTML files to execute other programs on the server.
Choose which files to parse.
You can choose whether to parse only files with the .shtml extension, or all HTML files, which slows performance. If you are using UNIX/Linux, you can also choose to parse UNIX/Linux files with the execute permission turned on, though that can be unreliable.
For more information on setting your server to accept parsed HTML, see the online help for the Parse HTML page.
For more information on using server-parsed HTML, see the Sun Java System Web Server 6.1 SP9 Programmer’s Guide.