Originally posted by Jamal Hasanov:
I have 2 files:
index.html
head.html
index.html includes head.html. Inside head.html I have tags like $invoice_amount, $user_name, etc.
I use VelocityServlet for replacing this tags with values. But I must return index.html to client... How to force Velocity to change head.html inside index.html?
I still could not get the problem.
index.html and head.html are basically vm files or the templates files.
You ca use
#parse("head.html")
within index.html to get the required result.