title: Removing single quotes in struts2
body: <p>I have the following code in my JSP.</p>
  
  <pre><code>&lt;td style="text-align:center;"&gt;&lt;s:property value="accountCode"/&gt;&lt;/td&gt;
  </code></pre>
  
  <p>when i get the values from the back-end, i am passing it with the single quotes(eg. '1234'). However, when i display it, i want to remove these quotes and display just the number.(eg.1234). How do i do this?</p>
  
  <p>I tried <code>&lt;s:property value="accountCode.replace('\'','')"/&gt; and &lt;s:property value="accountCode.replaceAll('\'','')"/&gt;,</code> but it does not work!(Did not show me the value itself!) </p>