title: How struts property tag works with date value?
body: <p>I have a JSP page where i am getting a Date value from my action class. I am not able to understand how it is handled as:</p>
  
  <pre><code>&lt;s:property value="#someDate"/&gt; 
  </code></pre>
  
  <p>gives me date </p>
  
  <pre><code>2/7/14
  </code></pre>
  
  <p>whereas</p>
  
  <pre><code>&lt;s:property value="{#someDate}"/&gt; 
  </code></pre>
  
  <p>gives me Date as </p>
  
  <pre><code>[Wed Feb 7 00:00:00 IST 2014]
  </code></pre>
  
  <p>Can someone tell me how date value is actually handled here, as date is returned in different formats?</p>