title: spring MVC : form : radiobutton for Boolean property
body: <p>I just want to know how to use a Boolean in a Spring mvc form.</p>
  
  <p>I try with this code:</p>
  
  <p>My jsp:</p>
  
  <pre><code>&lt;form:radiobutton path="dateInterval" value="false" cssClass="radio"/&gt;
  &lt;form:radiobutton path="dateInterval" value="true" cssClass="radio"/&gt;
  </code></pre>
  
  <p>The property on the pojo:</p>
  
  <pre><code>private Boolean dateInterval = false;
  </code></pre>
  
  <p>But my dateInterval property is always null!</p>