<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>Urgent : Reading the contents of a html file in opencms 6.0b</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I want to display (include) some html files dynamically on my website, these are basically promotions.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">How do I go about?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I tried using the CmsFile.getContents() methods but it returns some junk. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I also tried the native java.io.FileInputStream method but it returns a file does not exist in Opencms</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Oliver</FONT>
</P>

</BODY>
</HTML>