Example of mail merge (Dependency Example) generating different files using RTFTemplate library.
References:-
http://sourceforge.net/projects/rtftemplate/
http://rtftemplate.sourceforge.net/
- Add required JARS in class path.
Required JARS:
rtftemplate-1.0.1-b14.jar
commons-collections-3.2.1.jar
spring-beans-3.2.2.RELEASE.jar
spring-context-3.2.2.RELEASE.jar
spring-context-support-3.2.2.RELEASE.jar
spring-core-3.2.2.RELEASE.jar
spring-expression-3.2.2.RELEASE.jar
spring-jdbc-3.2.2.RELEASE.jar
spring-orm-3.2.2.RELEASE.jar
spring-tx-3.2.2.RELEASE.jar
xml-apis-1.0.b2.jar
commons-logging-1.1.1.jar
freemarker.jar
commons-digester-2.1.jar
org.apache.commons.beanutils.jar
velocity-1.7.jar
commons-lang.jar
- Download the sample files (Project_www.liveinNJ.com.rtf, Project_www.liveinSF.com.rtf, Project_www.scart.com.rtf, Project_www.workinNJ.com.rtf, Project_www.workinSF.com.rtf, Project_www.workwithme.com.rtf) and Template file (RTF_Websites.rtf) in rtf format.
- Add the required classes.
References:-
http://sourceforge.net/projects/rtftemplate/
http://rtftemplate.sourceforge.net/
No comments:
Post a Comment