title: Using jsp templates in Eclipse
body: <p>I have a web project that was built using Rational Application Developer. Most of my pages are built using a template file (jtpl). </p>
  
  <p>I am switching the IDE to Eclipse Juno, I noticed that in eclipse templates are created differently. You have to go to preferences and create a template there.</p>
  
  <p>I think also the syntax is different. what I have right now in my jtpl file is something like this: </p>
  
  <pre><code>&lt;%-- tpl:insert attribute="imports" --%&gt;
  
  &lt;%-- /tpl:insert --%&gt;
  </code></pre>
  
  <p>Not sure if this will work with eclipse as is or not.</p>
  
  <p>Rational was very good at managing templates. the second I add the import statement on the top of the jsp, rational inserts all the code from the templates for me (dimmed so I cannot change it in the jsp) and all I have to do is to fill the parts I need.</p>
  
  <p>Also with Rational if I make one change to the template and save it, all the jsps using it are updated with the change.</p>
  
  <p>My questions are:</p>
  
  <p>1) is there a way to use the current template without much changes when switching to eclipse?</p>
  
  <p>2) this is very important too, is there a way to automatically update all the pages using a template when a change is made to it ?</p>
  
  <p>3) any good examples of using, updating templates with eclipse?</p>