Currently I am working on a Java based applivation. I want to write a rutine to create letters in rtf format based on a template. The template contains text in different font and font style. The template contains fields like <Name>, <Address> <Salutation> which will be replaced by the values in java objects which get from data base. At a time it need to create multiple letters based on this template. Could you suggest a way to do it? Or give any examples?