How to insert header and footer into a .vm file
I have a .vm file (Velocity) that is run to create a DOC file. I want to have a very simple header and footer in this resulting DOC file. How can I write code in a .vm file to do this. I don't want to include header and footer files as external files. I need some simple code in the same .vm file. Please, help!!!
+1
lalit bhabal
source
to share
1 answer
Without including a separate file? Just write HTML. The following code is an extract from the vm file:
<div class="footer">
<div class="footerlinks">
<ul>
<li class="first">Something</li>
</ul>
</div>
</div>
+1
Leah
source
to share