title: <apptags:SQLIteratorTag query="<%=myQuery%>"> where myQuery returns no results results in strange HTML behaviour
body: <p>I am using Tomcat7 on Windows Server 2008.</p>
  
  <p>I have the following two lines in my JSP page</p>
  
  <pre><code>&lt;apptags:SQLIteratorTag query="&lt;%=myQuery%&gt;"&gt;
  &lt;/apptags:SQLIteratorTag&gt;
  </code></pre>
  
  <p>If <code>myQuery</code> returns at least one row, then my JSP page behaves normally.
  If <code>myQuery</code> returns no rows, then my JSP page copies some text from the page (e.g. the contents of a combobox) and duplicates it!</p>
  
  <p>My thoughts are as follows: Since the combobox that it copies from is populated by a query, it seems that in the absence of a query returning results, the page seems to grab the results of a different query. </p>
  
  <p>Has anyone got any ideas how to solve this?
  Thanks!</p>