Including a file with SSI

This file, FileInclude.shtml, uses the WebLogic ServerSideIncludeServlet servlet to include the contents of a .txt file on this page. The <#include> tag has its VIRTUAL attribute set to the name of a file, hello.txt, which is also in this directory.

The line that includes hello.txt is:

<!--#include virtual="hello.txt"-->

hello.txt contains these lines:

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

Here is the result of the include:

Hello World!