title: JSP dynamic web page generation
body: <p>I am trying to build an application for our users, we need a correct design and right technologies. Here is the requirement. Based on user template selection we need to generate dynamic web pages, they should be constructed on fly and user enters/edits data and add some comments and he clicks "Save as TIFF". </p>
  
  <p>My thoughts and questions.</p>
  
  <ol>
  <li><p>Since we have around 100 templates with most of the layout and content is different.
  Generating jsp pages on fly for 100 templates is not an easy as in paper.
  I defined all our template attributes in XML and generated java objects using JAXB, 
  finally JSF to render XML data. Are we doing it correct or is there any better way?</p></li>
  <li><p>Converting the generated JSP data to <code>tiff</code>. Once the user enter/edit data we convert the data to PDF using <code>JasperReports</code>. And Finally ICE Faces technology to convert it to <code>TIFF</code>.
  I feel we are doing some extra work converting the user entered data/ form data to <code>pdf</code> and then converting <code>pdf</code> to <code>TIFF</code>. Is there any better way to do this?</p></li>
  </ol>
  
  <p>I am also looking at Velocity templates engine to see if that fits our requirement.</p>
  
  <p>Thanks once again folks.</p>
  
  <p>-SPD</p>