title: Unable to add a dynamic attribute to a Spring form:input tag
body: <p>I have a Spring form tag and am trying to add a dynamic attribute (the "placeholder" attribute), but get the following error</p>
  
  <pre><code>org.apache.jasper.JasperException: /WEB-INF/jsp/work.jsp (line: 290, column: 3) 
  Attribute placeholder invalid for tag textarea according to TLD
  </code></pre>
  
  <p>The jsp:</p>
  
  <pre><code>&lt;form:input path="name" cssClass="input-xlarge" id="name" placeholder="type your name"/&gt;
  </code></pre>
  
  <p>According to: <a href="https://jira.springsource.org/browse/SPR-5931" rel="nofollow">https://jira.springsource.org/browse/SPR-5931</a> dynamic attributes are supported in Spring 3.0 (depending on JSP 2.0) which I belive I have.</p>
  
  <p>My environment:</p>
  
  <pre><code>Java: 1.6.0_29
  Tomcat: Apache Tomcat/7.0.25
  Servlet: 3.0
  Spring : 3.0.7.RELEASE
  JSP Engine: 2.1
  </code></pre>