title: How to add attributes to input fields in JSP
body: <p>How can I add the following attributes:</p>
  
  <ol>
  <li>placeholder="text here"</li>
  <li>required</li>
  <li>data-parsley-type="number"</li>
  <li>checked (only for he radio)</li>
  </ol>
  
  <p>To the following inputs in a form:</p>
  
  <pre><code>&lt;html:text property="text" value="text" /&gt;
  &lt;html:radio property="radio" value="1" /&gt;
  &lt;html:select property="text" value="1" /&gt;
  </code></pre>