title: Manipulate calendar year in HTML
body: <p>Instead of hardcoding the years in my dropdownlist, I'm going to pass over a year as the first option value and then want the following 2 values to be the previous year and so on. Something like this:</p>
  
  <pre><code>&lt;select name="workloadYear"&gt;
      &lt;option value="2008" &lt;c:if test="${form.workloadYear == 2008}"&gt;selected="selected"&lt;/c:if&gt;&gt;2008&lt;/option&gt;
      &lt;option value="2007" &lt;c:if test="${form.workloadYear == 2007}"&gt;selected="selected"&lt;/c:if&gt;&gt;2007&lt;/option&gt;
      &lt;option value="2006" &lt;c:if test="${form.workloadYear == 2006}"&gt;selected="selected"&lt;/c:if&gt;&gt;2006&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How can I do this without hardcoding the years?</p>