title: JSP displaying Datetime instead of Date
body: <p>I have a JSP that is fetching records from an Oracle database. When I preform the SQL query in Oracle, I am getting dates in the format that I expect (i.e. 06-JAN-14).</p>
  
  <p>However, in my JSP, I am using JSTL to query the database and put the records into a JQuery DataTable. Unfortunately, somewhere along in the process, timestamps are being added to the dates, i.e. (2014-01-07 00:00:00.0).</p>
  
  <p>This is my SQL query inside the JSP.</p>
  
  <pre><code>&lt;sql:query var="retrieveMovers" dataSource="jdbc/blahApp"&gt;
      SELECT * FROM blah
  &lt;/sql:query&gt;
  </code></pre>
  
  <p>This is the table I am outputting results to.</p>
  
  <pre><code>    &lt;table id="movers" cellpadding="0" cellspacing="0" border="0" class="display" width="100%"&gt;
          &lt;thead&gt;
              &lt;tr&gt;
                  &lt;th&gt;Security&lt;/th&gt;
                  &lt;th&gt;Comment&lt;/th&gt;
                  &lt;th&gt;Bid Price&lt;/th&gt;
                  &lt;th&gt;Bid Percent Change&lt;/th&gt;
                  &lt;th&gt;Security Description&lt;/th&gt;
                  &lt;th&gt;Date&lt;/th&gt;
              &lt;/tr&gt;
          &lt;/thead&gt;
          &lt;tbody&gt;
              &lt;c:forEach var="row" items="${retrieveMovers.rows}"&gt;
                  &lt;tr&gt;
                      &lt;td&gt;${row.security}&lt;/td&gt;
                      &lt;td&gt;${row.comment}&lt;/td&gt;
                      &lt;td&gt;${row.bid_price}&lt;/td&gt;
                      &lt;td&gt;${row.bid_percent_change}&lt;/td&gt;
                      &lt;td&gt;${row.security_description}&lt;/td&gt;
                      &lt;td&gt;${row.date}&lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/c:forEach&gt;
          &lt;/tbody&gt;
      &lt;/table&gt; 
  </code></pre>
  
  <p>Can anyone make any suggestions how I can ensure my date row doesn't have a time stamp added to it?</p>
  
  <p>Thanks!</p>