title: Struts 2 textfield label doesn't show in table
body: <p>The following jsp file fragment using struts2 tags doesn't show the textfield label. How can I fix this? Is it possible to have the label displayed by using only struts2 tags?</p>
  
  <pre><code>&lt;s:form action="voucher" theme="simple"&gt;
      &lt;table  width=50% border="5"&gt; 
        &lt;tr&gt;
            &lt;td&gt;
           &lt;s:textfield label="Enter the voucher hrn"  name="voucher.SN" /&gt;
            &lt;/td&gt;
            &lt;td&gt;
           &lt;s:submit value="Check state" /&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;
           &lt;s:radio  list="#{'used': 'Mark as used', 'available': 'Mark as available'}" name="selections" value="%{'used'}"&gt;&lt;/s:radio&gt;
            &lt;/td&gt;
            &lt;td&gt;
           &lt;s:submit value="Update state" /&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
          &lt;/table&gt;
  &lt;/s:form&gt;
  </code></pre>