title: How can I put a placeholder in a struts2 textfield tag?
body: <p>I'm using struts2 tags and want to put a placeholder in a <code>&lt;s:textfield&gt;</code> tag like this:</p>
  
  <pre><code>&lt;s:set name="email" value="getText('email')" /&gt;
  ...
  
  &lt;s:form action="Login"&gt;
      &lt;s:textfield key="email" theme="simple" placeholder="%{email}" 
           cssClass="span3"/&gt;
      ...
  &lt;/s:form&gt;
  </code></pre>
  
  <p><code>email</code> is defined in <code>global.properties</code> as "Correo electrónico" .</p>
  
  <p>My problem is that when I see the jsp page, instead of seeing the value of <code>email</code> I see <code>%{email}</code>.</p>
  
  <p>I read that it was a bug of Struts2 solved in version 2.3.1 here: <a href="https://issues.apache.org/jira/browse/WW-3644" rel="nofollow">https://issues.apache.org/jira/browse/WW-3644</a>, but I'm using Struts2 2.3.4 and I keep having the same problem.</p>
  
  <p>Anyone knows any solution to this problem or any other way for putting the placeholder in the textfield?</p>