I have a jsp page to generate a report and save it as a rtf file and show it on the page. Is there a way to convert the rtf file to a pdf file and show it on the page? I know that there are some programs that can convert files to pdf files. But I need it to be done automatically with java codes. Thanks.