title: How to create a multiple page pdf using Spring and thymeleaf
body: <p>I have a requirement where in I am creating 2 templates for example template1.html and template2.html and I need to create a pdf from the above template. 
  Now, my PDF file should be like 
  - First page is always the template1.html
  - Second page would be template2.html</p>
  
  <p>I basically have to create a 2 page pdf. 
  on some condition it could be more pages as well but any pages after page 1 would be of type template2.html with different data.</p>
  
  <p>Could anyone suggest me a way to combine multiple template files under one pdf.</p>