title: calendar with struts 2
body: <p>I currently work with struts2 and I need to display a calendar</p>
  
  <p>in my jsp page and retrieve the date in yyyy-MM-dd</p>
  
  <p>I try with this code</p>
  
  <pre><code> &lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
       &lt;%@ taglib prefix="s" uri="/struts-tags" %&gt;
       &lt;%@ taglib prefix="sx" uri="/struts-dojo-tags" %&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  &lt;title&gt;Insert title here&lt;/title&gt;
  
  &lt;sx:head cache="false" compressed="false" /&gt; 
  
  &lt;/head&gt;
  &lt;body&gt;
  
  
  &lt;sx:datetimepicker name="date achat" label="Format (yyyy-MM-dd)" displayFormat="yyyy-MM-dd"/&gt;
  
  
  
  &lt;/body&gt;
  &lt;/HTML&gt; 
  </code></pre>
  
  <p>but while running the schedule does not appear</p>
  
  <p>and just this label is displayed</p>
  
  <pre><code> Format (yyyy-MM-dd):
  </code></pre>
  
  <p>best regards</p>
  
  <p>franco</p>