title: Assign fmt:formatDate output to a c:set variable
body: <p>I want to do something like this:</p>
  
  <pre><code>&lt;c:set var="strDate" value="&lt;fmt:formatDate value='${obj.dateIn}' pattern='ddMMyyyy'/&gt;"/&gt;
  </code></pre>
  
  <p>to obtain the date as (formatted) string and assign it to a variable for later use but it isn't working, any ideas on how to do it in jsp-jstl?</p>
  
  <p>The only way I find around it is to create a "fake" getter for the object java class that outputs the desired date as a String usign SimpleDateFormat.format(..) but me thinks it's not very orthodox and want to leave the underlying classes alone.</p>