Including a file with SSI

This .shtml file, FileInclude.shtml, illustrates using WebLogic's ServerSideIncludeServlet functionality to insert the contents of a .txt file into this HTML page. We use the <#include> tag with the VIRTUAL attribute set to the name of a file -- "hello.txt" -- that exists in this directory.

The line that includes the file is:
<!--#include virtual="hello.txt"-->

Its contents are:

<h1>
<font color=#1260>
Hello world!
</font>
</h1>

Here's the result of the include: